Debian and Ubuntu based Linux distributions
NOTE: Temporary info before full update of this wiki page Below is not an up-to-date info. Check the nodesource’s blog post to install node 0.12 on Debian and Ubuntu. NOTE END
Also including: Linux Mint, Linux Mint Debian Edition (LMDE), elementaryOSand others.
Node.js is available from the NodeSource Debian and Ubuntu binary distributions repository (formerly Chris Lea’s Launchpad PPA). Support for this repository, along with its scripts, can be found on GitHub at nodesource/distributions.
Setup with Ubuntu:
curl -sL https://deb.nodesource.com/setup | sudo bash -
Then install with Ubuntu:
sudo apt-get install -y nodejs
Setup with Debian (as root):