Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install (update) npm -global on Windows when using nvm-windows
pushd %ProgramFiles%\nodejs
del npm npm.cmd
move node_modules\npm node_modules\npm2
node node_modules\npm2\bin\npm-cli.js i npm@latest -g
rd node_modules\npm2 /S /Q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment