How To'sInternet

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 is always maintained by its official website. We’re gonna install node.js on our Ubuntu server using a 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 the 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 https://deb.nodesource.com/setup_7.x | sudo -E bash -

#2 Installing Node.js and NPM

After adding the required PPA file, let’s install the 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 the 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.

Noor Qureshi

Experienced Founder with a demonstrated history of working in the computer software industry. Skilled in Network Security and Information Security.

Related Articles

Back to top button