Skip to content

Commit

Permalink
Readme: updated installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiospampinato committed Nov 29, 2023
1 parent f60f7f6 commit 74a2d15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ If you find any bugs, missing features, or unexpected slowness, please open an i
## Installation

```sh
npm uninstall prettier
npm install @prettier/next
```

Expand All @@ -18,8 +19,8 @@ It should be largely backwards compatible:
prettier src --check # Like before, but faster
```

You can aldo try it via `npx`:
You can also try it via `npx`, though `npx` itself is pretty slow:

```sh
npx @prettier/next src --check
npx prettier-next src --check
```

0 comments on commit 74a2d15

Please sign in to comment.