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

1 comment:

  1. I do not know whether it's just me or if everybody else experiencing problems with your blog. It seems like some of the written text on your content are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This might be a issue with my internet browser because I've had this happen previously. Many thanks outlook 365 email login

    ReplyDelete

© Copyright to vivek sathisan. Powered by Blogger.