Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
doc(website): Use pnpm rome and yarn rome instead of longer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Nov 11, 2022
1 parent ddb99ac commit 3a9160a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions website/docs/src/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can now use `npx rome` to run Rome.
pnpm install --save-dev rome
```

You can now use `pnpm exec rome` to run Rome.
You can now use `pnpm rome` to run Rome.


#### yarn
Expand All @@ -42,7 +42,7 @@ You can now use `pnpm exec rome` to run Rome.
yarn add rome --save-dev
```

You can now use `yarn run rome` to run Rome.
You can now use `yarn rome` to run Rome.

## Configuration

Expand All @@ -54,10 +54,10 @@ To create the configuration, run the `init` command in the root folder of your p
npx rome init

# or
pnpm exec rome init
pnpm rome init

# or
yarn run rome init
yarn rome init
```

After running the `init` command, you'll have a `rome.json` configuration file in your directory.
Expand Down Expand Up @@ -86,10 +86,10 @@ You can lint any file or directory running:
npx rome check <files>

# or
pnpm exec rome check <files>
pnpm rome check <files>

# or
yarn run rome check <files>
yarn rome check <files>
```

or format your files and directories with:
Expand All @@ -99,10 +99,10 @@ or format your files and directories with:
npx rome format <files> --write

# or
pnpm exec rome format <files> --write
pnpm rome format <files> --write

# or
yarn run rome format <files> --write
yarn rome format <files> --write
```

<!-- Make sure to update the redirect in `static/_redirects` when changing the editors title -->
Expand Down

0 comments on commit 3a9160a

Please sign in to comment.