How to Install node js in Ubuntu-16.0.4

Date : 29/05/2019

Introduction :

Node.js is an open-source, cross-platform Java Script run-time environment that executes JavaScript code outside of browser.
In this tutorial, we are going to see how to install node.js on ubuntu.

Prerequisite :

  1. Linux – Ubuntu.

Steps:

1) First we need to update ubuntu software and also its extra packages that is needed, by using following command.

sudo apt-get update

2) Then to add the Node.js PPA to the system to install Nodejs on Ubuntu, by using following command.

Note :- we used current release while writing this blog.

sudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

3) After added ppa to system, then to Install Node.js, similarly it also install NPM, by using following command.

sudo apt-get install nodejs

4) Once it’s installed successfully, to verify or check whether it is install or not, by using following command.

node -v 

Finally, it will displays the version of node.js if installed.

Thanks for using pheonix solutions.
You find this tutorial helpful? Share with your friends to keep it alive.

Leave a Reply