How to install latest stable Node.js on Ubuntu

If you develop with Node.js and you want to be sure to have the latest stable version, luckly there is a PPA for it. All you need is to follow these instructions:

1
2
3
4
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update 
sudo apt-get install nodejs npm

That’s it!

Reference: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

comments powered by Disqus
source code available on GitHub
Built with Hugo
Theme Stack designed by Jimmy