Steps to setup Node in Ubuntu
It is developed by Ryan Dahl in 2009.
sudoprivileges set up on your system.
Steps to install:
sudo apt-get update
It will update your system with latest updates available.
sudo apt-get install nodejs
The above command will install “node” on your system.
sudo apt-get install npm
The above command will install “npm” on your system.
This will allow you to easily install modules and packages to use with Node.js.
To check the currently installed version of Node we have to use the below mentioned command:-
To check the currently installed version of npm we have to use the below mentioned command:-
As you can see, by following all the above steps we are able to setup node and npm on our system successfully on your Ubuntu machine.
By: Keshav Kashyap