460 B
460 B
id | title |
---|---|
install | Install |
Install with yarn
:
yarn add prettier --dev --exact
You can install it globally if you like:
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.