Installing NodeJs

Author: Al-mamun Sarkar Date: 2021-03-29 15:50:16

You can install NodeJs for running JavaScript directly using the node command. NodeJs is an asynchronous event-driven JavaScript runtime, which is designed to build scalable network applications. Here we will just use it from running JavaScript. 


Installing NodeJs on Ubuntu:

sudo apt update
sudo apt install nodejs

Check Version:

nodejs -v
node -v


Installing NodeJs on Mac:

brew install node

 Check Version:

node -v


Download and Install from NodeJs official site.