-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
install node also install latest stable npm #696
Comments
It definitely can't be a default - many versions of node (think However, I'm open to an (duplicate of #668) |
Sounds like a great compromise. |
I would request that |
@zacronos at that point, why not |
Good point, however what about some. Nvmrc logic so peeps don't have to think about it hut once. |
Installing a node version isn't a common action, so "having to think about things" when doing it isn't a burden, it's actually the appropriate time to be thinking about things.
|
npm install -g npm doesn't work when nvm links the npm symlink on linux machines to its specific node directory. Just tried this and got failure. Would love to see a way to say "don't install NPM for me" or at least an option to specify the npm version as well. We are locked to npm 2.7 with node 0.10.39 currently and had to go delete the .vmm//npm symlink to get back to my global version. |
@jdarling what does your Try the |
npm root -g Actually I think I've had nvm for so long that I don't honestly remember how I installed it. What is the proper purge if you don't know where it is 🎱 I'll install via CURL after I make sure I kill everything off. |
Simply reinstalling via |
This is now possible; This has the advantage of ensuring you install the latest version of npm that actually works on your version of node, instead of just the latest one. |
For future reference, that was done in commit cbdd41e. |
Thanks for this wonderful utility and sorry if this is a dupe.
It would be great if npm was automatically installed to its latest stable version when installing a different version of node. npm being outdated always seems to bite me in the butt.
To resolve this I always have to remember to run
npm install -g npm
after a new install. I really feel this should be a default somehow.The text was updated successfully, but these errors were encountered: