Node.js is an open-source JavaScript runtime built on Chrome's V JavaScript engine and it is used to run JavaScript on the server.
In today's post I will show you a step by step guide on how to install Nodejs on your Ubuntu system.
- First things first, fire up your Terminal using Ctrl + Alt + T.
- To install Nodejs use the following command;
sudo apt install nodejs
easy-peasy. Once that is done, check the version of node you are using by typing in;node -v or node –version
Note: It is recommended to install Node Package Manager(NPM) with Node.js. NPM is an open-source library of Node.js packages.
To install NPM, use the following commands:
sudo apt install npm
npm -v or npm –version
Top comments (0)