Skip to content

Commit

Permalink
Prefer --ignore-dependencies to deprecated --without-node flag (#916)
Browse files Browse the repository at this point in the history
--without-node is no longer part of the [yarn formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/yarn.rb), and node is its only dependency. Addresses #913.
  • Loading branch information
rypit authored and Daniel15 committed Feb 6, 2019
1 parent 40861fb commit 61cad9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/en/docs/_installations/mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This will also install Node.js if it is not already installed.
brew install yarn
```

If you use [nvm](https://github.com/creationix/nvm) or similar, you should exclude installing Node.js so that nvm's version of Node.js is used.
If you use [nvm](https://github.com/creationix/nvm) or similar, you can exclude installing Node.js so that nvm's version of Node.js is used by ignoring dependencies.

```sh
brew install yarn --without-node
brew install yarn --ignore-dependencies
```

#### MacPorts
Expand Down

0 comments on commit 61cad9d

Please sign in to comment.