From 61cad9d11039174371b7816ca63773b9c3cc85fe Mon Sep 17 00:00:00 2001 From: RJ Pittman Date: Tue, 5 Feb 2019 20:02:52 -0500 Subject: [PATCH] Prefer --ignore-dependencies to deprecated --without-node flag (#916) --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. --- lang/en/docs/_installations/mac.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en/docs/_installations/mac.md b/lang/en/docs/_installations/mac.md index bfd0c277b..4b0f28202 100644 --- a/lang/en/docs/_installations/mac.md +++ b/lang/en/docs/_installations/mac.md @@ -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