Upgrade NodeJS using npm
Submitted by manraj on Wed, 05/20/2015 - 17:12To easily upgrade the nodejs, just run the following commands in your terminal.
:$ sudo npm cache clean -f :$ sudo npm install -g n :$ sudo n stable
To easily upgrade the nodejs, just run the following commands in your terminal.
:$ sudo npm cache clean -f :$ sudo npm install -g n :$ sudo n stable