DEV Community

Cedric Muuo
Cedric Muuo

Posted on


Installation and setup of Node.js on your Linux machine

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.

  1. First things first, fire up your Terminal using Ctrl + Alt + T.
  2. 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)

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<