Home » Development and Build » Development Environment Setup » How to install latest version of Node JS on Ubuntu ?

How to install latest version of Node JS on Ubuntu ?

If you want to install node.js which is gaining popularity in recent days, you can follow below steps,

Installing latest node.js version

npm is the package manager for node.js JavaScript which we need to install in first,

 $ sudo apt-get install npm 
 $ sudo npm install n -g 
 $ sudo n latest 

Above command will install the latest version of Node.js,

Now, you can check which is the latest installed version as,

 $ node -v 

Also check which all node versions are supported and check all node versions as,

 $ n ls 
Install Nodejs on ubuntu aws server...
Install Nodejs on ubuntu aws server instance EC2 using WinSCP & Putty

Leave a Comment

Sign up to our newsletter!