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.)
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.)
If you want to update Node.js, just try
from your Windows cmd prompt.
Else if you want to update any specific package try
Example:
The easy way to update node and npm :
download the latest version of node js and update /install
npm clean cache
- you forget to clean ur cachenpm update -g
This works on mine Windows, I hope it will also work for you :D
worked for me to update npm
In windows download the node executable file from the website and install it. this worked for me.
According to Nodejs Official Page, you can install&update new node version on windows using Chocolatey or Scoop
Using(Chocolatey):
Using(Scoop):
Also you can download the Windows Installer directly from the nodejs.org web site