To Install Node & NPM on Windows
- Install NVM-Windows
nvm install latest
nvm use <whatever_the_latest_was>
- Then install the windows updater for NPM (
npm install -g npm-windows-upgrade
) - Run powershell as Administrator
npm-windows-upgrade
(Select your version)
To Update Node
nvm list
to see installed and used node versionsnvm list available
(check highest version in 'CURRENT')nvm install latest
to install latestnvm use 6.7.0
(to use 6.7.0 for example)- Reinstall npm-windows-upgrade (it gets removed once you update node)
To Update NPM
npm -v
to see installed versionnpm show npm@* version
scroll down to find latest versionnpm-windows-upgrade
Select your version
NVM issue (won't change versions) Solutions
rm -rf
the offending version in your %NVM_HOME% (in cmd), then re-install