How to Install Latest Nodejs & Npm on Ubuntu (Amazon AWS)

Today we’re gonna install Node.js platform on our Ubuntu VPS. The latest version in always maintains by its official website. We’re gonna install node.js on our Ubuntu server using few easy commands.

#1 Adding NodeJs PPA

First you need to node.js ppa in our system provide by nodejs official website. We also need to install python-software-properties package if not installed already.

Also Read: How to Install Hack.Chat on Ubuntu/Debian/Mac OS X

sudo apt-get install python-software-properties
curl -sL | sudo -E bash -

#2 Installing Node.js and NPM

After adding required PPA file, lets install Nodejs package. NPM will also be installed with node.js. This command will also install many other dependent packages on your system.

sudo apt-get install nodejs

#3 Check Node.js & NPM Version

After installing node.js verify and check the installed version. You can find more details about current version on node.js official website.

node -v

Also check the version of npm.

And you’re done! That’s how you can install Nodejs on your server.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button