Upgrade node.js version in ubuntu 14 or ubuntu 16
There are several ways to upgrade node.js on ubuntu servers. Before upgrading always make sure your applications are compitable to new node.js version. Test it locally. Do not ever upgrade directly. There are many modules which tend to break with new versions.
Once you are sure what you are doing. Follow below steps to upgrade.
Remove old node js installation
sudo apt-get remove nodejs
Install New node.js verion.
I mentioned this in my previos article. Follow these steps to know how to install latest version.
How To Install Node.js on Ubuntu 16.04 and on 14.04
Let me know if any questions. Thank you.
Latest posts by Shankar Morwal (see all)
- Upgrade node.js version in ubuntu 14 or ubuntu 16 - May 8, 2017
- Angular 4 will be out soon, Everything you need to know - February 20, 2017
- Installing teamcity 10.0.4 on ubuntu server - January 17, 2017