Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove outdated reference to --without-node argument #916
Maybe this should say something like "If you use nvm or similar, you should install Yarn using the bash script to avoid installing an extra version of Node.js" and include the tarball instructions (same as what we display for RC / nightly releases)?
Ideally we'd like if someone could create a Homebrew "tap" that includes the
@Daniel15 Based on the various threads on this, it seems like users with nvm/nodenv could get the same benefit of getting yarn without the homebrew version of node by passing the
I've updated this PR to include the tweak to the notes for those users.
I'm happy to create a formula, but would that be a larger discussion since it would introduce the following concerns(?):
I think so... Depends on if the Homebrew team let us do that.
It could probably live in here: https://github.com/yarnpkg/releases
I'm not sure if that's the best approach or not, since I'm not very familiar with Homebrew.
If we put it there, we'd have to add the repo url when telling mac users how to tap. Install instructions would look something like:
brew tap yarnpkg/yarn https://github.com/yarnpkg/releases.git brew install yarnpkg/yarn --without-node # or something similar to that
Homebrew convention is that tap repos are named in the following format:
I'm not sure either of the above are ideal.
As long as the dependencies for yarn stay stable, the current formula in homebrew-core may be the best experience for homebrew users (no custom taps required, principal of least surprise, homebrew users will maintain it).
If it's decided otherwise please let me know, I'm happy to get involved.