Use "yarn global add" (#5379)
Use "yarn global add" instead of "yarn install -g". Because "yarn install" is used to install all dependencies for a project [1]. "yarn global" install packages globally on your operating system [2]. [1] https://yarnpkg.com/en/docs/cli/install [2] https://yarnpkg.com/en/docs/cli/global
This commit is contained in:
parent
d3c7ed13ad
commit
94fff4f101
@ -74,7 +74,7 @@ npm install
|
||||
```
|
||||
or, if you prefer [`yarn`](https://yarnpkg.com/) over `npm`:
|
||||
```
|
||||
yarn install -g jake
|
||||
yarn global add jake
|
||||
yarn install
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user