Files
test-repo/docs/install.md
T

26 lines
458 B
Markdown
Raw Normal View History

2017-11-07 14:39:07 +11:00
---
id: install
title: Install
---
Install with `yarn`:
```
yarn add prettier --dev --exact
```
You can install it globally if you like:
```
yarn global add prettier
```
2017-11-22 19:27:40 +08:00
_We're using `yarn` but you can use `npm` if you like:_
2017-11-07 14:39:07 +11:00
```
npm install --save-dev --save-exact prettier
# or globally
npm install --global prettier
```
2017-11-22 19:27:40 +08:00
> We recommend pinning an exact version of prettier in your `package.json` as we introduce stylistic changes in patch releases.