Install Node.js 5.0 Stable on Ubuntu 14.04 LTS

Node.js 5.0 is a Stable version released in October 2015, right after Node.js 4.2 Argon LTS was released.

We’ll look about how to install Node.js 5.0 stable on Ubuntu 14.04 LTS.

Get the setup script:

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash

Once done, start installation of Node.js by executing the following command:

sudo apt-get install -y nodejs

That’s all folks, you should now have Node.js 5.0 Stable installed and ready to go!

You can test the installation with the following command to find the version:

node -v

You should get an output as:

v5.0.0

Enjoy hacking with node.js