Files
test-repo/website/versioned_docs/version-stable/install.md
T
2020-04-05 23:47:18 +03:00

582 B

id, title, original_id
id title original_id
version-stable-install Install install

Install with yarn:

yarn add prettier --dev --exact
# or globally
yarn global add prettier

We're using yarn but you can use npm if you like:

npm install --save-dev --save-exact prettier
# or globally
npm install --global prettier

We recommend pinning an exact version of prettier in your package.json as we introduce stylistic changes in patch releases.

If you use npx to run Prettier, the version should be pinned like this:

npx prettier@2.0.3 . --write