How to Upgrade Node.js in Linux



How to Upgrade Node.js


Clean all npm cache from your system forcefully !

#  sudo npm cache clean -f

#  sudo npm install -g n

The n package represents a Node helper.

For installing the stable version
#  sudo n stable

For installing the latest version
#  sudo n latest

We could specify a desired version to install :-

#  sudo n 0.8.21

Once your install is complete, you can confirm you version with another command :

#  node -v


How to Upgrade Node.js in Linux How to Upgrade Node.js in Linux Reviewed by vivek sathisan on 17:18 Rating: 5

No comments:

© Copyright to vivek sathisan. Powered by Blogger.