-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add homebrew install instructions for nvm compat #516
Conversation
lang/en/docs/_installations/mac.md
Outdated
@@ -9,6 +9,12 @@ This will also install Node.js if it is not already installed. | |||
brew install yarn | |||
``` | |||
|
|||
If you use [nvm](https://github.com/creationix/nvm) you should exclude installing NodeJS so that the nvm binaries are used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change "nvm binaries" to "nvm's version of Node.js"?
Also, small nit: Use "Node.js", not "NodeJS".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, and done, I've been writing it that way for years, my bad, sorry Node.js
Thanks! |
Is this no longer published on the docs? Looks like the current installation explanation is a little less clear https://classic.yarnpkg.com/en/docs/install/#mac-stable Thanks! |
@nandorojo Homebrew removed the ability to install Yarn without installing Node.js a while back. In fact they removed all customization options for formulae. |
You’re right. I went with the CURL install instead — this may be the best option for nvm users to avoid node installs. Maybe I could add a PR to suggest that? |
Sure, feel free to submit a PR. |
Fixes yarnpkg/yarn#3255