Repository navigation
install nodejs 4.2 with newer npm #3350
Description
Activity
- addedwindowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.questionIssues asking questions about Node.js.Issues asking questions about Node.js.npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.and removedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.
on Oct 13, 2015 Probably overwritten, I think?
There was discussion about having the installer have an option to not install npm, but I'm not sure where it went.
You can try opening an issue in the help repo: https://github.com/nodejs/help/issues
The answer may depend on how it was previously installed etc., but I think it will overwrite
npm. However, updating it again should be as easy asnpm install -g npm@3.3.4.By default,
npmis installed alongside node inC:\Program Files (x86)\nodejs.npm's globally installed packages (includingnpmif you donpm install -g npm) are stored separately in a user-specific directory (which is currentlyC:\Users\<username>\AppData\Roaming\npm). Thus, it is possible to end up with two different versions ofnpm. I believe the msi installer putsC:\Program Files (x86)\nodejsbeforeC:\Users\<username>\AppData\Roaming\npmin yourPATH, so if you runnpm --versionyou will get the version ofnpmthat came with node (this has confused many Windows over at thenpmissue tracker, so much so that I usually just point them to this guide).Closing. Not an actual issue ;-). @linquize ... no worries, but just for future reference, questions like this are better suited for http://github.com/nodejs/help ;-)
I manually upgrade npm to 3.3.4 which is newer than the one nodejs 4.2 ships (2.14.7).
Will the new npm be preserved or overwritten during upgrade nodejs?
I use Windows 7 64-bit MSI to install nodejs.