Install node js on ubuntu

 What is Node.js?



Node.js is one of the popular web technologies and it is used by developers to enhance the functionality of Web applications. Node.js simply allows javascript code to run without a client. Node.js stands for open source code so in this article, we will address the install node js on ubuntu

Install node js on ubuntu, Installation from Ubuntu official repositories

The fastest way to set up node.js is to use the official ubuntu repositories. First connect to your server using ssh. After connecting to your ubuntu Server with SSH, run the following command.

sudo apt update

After running this command, the repositories will be synchronized..

Run the following command

sudo apt install nodejs

Enter your password and the installation will begin. Once the installation is complete, if you wish you can also install the Node.js package manager NPM

To install NPM enter the following command

sudo apt install npm

Finally, check the installed version by entering the following command

nodejs -v

this method is the easiest way to install noode.js an ubuntu machine

Post a Comment for "Install node js on ubuntu"