Posted By: Anonymous
I did the following to update my npm:
npm update npm -g
But I have no idea how to update Node.js. Any suggestions? (I’m using Node.js 0.4.1 and want to update to Node.js 0.6.1.)
It’s a Bash script that lets you download and manage different versions of node. Full source code is here.
There is a separate project for nvm for Windows: github.com/coreybutler/nvm-windows
Below are the full steps to use NVM for multiple version of node on windows
- download nvm-setup.zip extract and install it.
- execute command
nvm list availablefrom cmd or gitbash or powershell, this will list all available version of node
- use command
nvm install versione.g.
nvm install 12.14.0to install on the machine
- last once installed use
nvm use versionto use newer version e.g.
nvm use 12.14.0