-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 in documentation "Install from npm" #1082
Comments
It's listed on the install page under "Alternatives". |
Yes, it's on the "alternatives" tab as it's not the recommended installation method. It's primarily a fallback for environments where you can't use a native installer or package (for example, Mac OS before the Homebrew package was recently added). Going to close this out as this is working as intended. Thanks! |
For folks coming from |
Anyone on Ubuntu should be familiar with dpkg (
That's one reason 😛 Here's one of my comments from a few weeks ago (#385) that explains some of the rationale:
|
I donno, for folks with limited Node experience on Mac and Windows the go-to Node installs come bundled with npm and it's ingrained in the ecosystem. I get wanting a separation and a separate identity but think it's a lot of hoops to jump through to avoid. |
There's not really that many hoops though. It's identical to any other software you'd use on Windows or Mac OS. We're not doing anything strange or different to other apps at all 😄 |
For what it's worth, releases are much easier to deal with when using the Ubuntu/Debian package, as Yarn will be upgraded along with the rest of the system. npm won't give you that; |
Can yarn update itself without breaking? If so, installing with npm would mean that it can be updated using yarn, right? |
I know tools like greenkeeper can detect when they're out of date and prompt the user to action. |
There's a |
you are too dependent on package managers doing the right thing for you, with containerization and limited build environments first and foremost we need a manual install that always works. Barring that the primary language package manager should be able to install it. Package management systems for dists are the last resort, they rarely have the latest package to install and you have to fall back to the other methods anyway. |
We have the installation script if you need a manual install that always works. Alternatively you can extract the tarball yourself. |
Since yarn is a
npm
package it can also be installed as it. So that, please add in the documentation that you can installyarn
executing next line:npm install -g yarn
The text was updated successfully, but these errors were encountered: