Installing NodeJS

What is Node.js?

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.

Installing Node Directly

You can find the link along with instructions for installing node here.

Node Version Manager

A useful tool for managing installed versions of NodeJS on your computer is nvm or Node Version Manager. To install nvm please follow the guide associated with your operating system

After installing nvm you can use the following commands to install and select the current active version of NodeJS

Copy
Copied
nvm install "16.14.2"

followed by

Copy
Copied
nvm use "16.14.2"

Then check to make sure that node was installed properly by running the command

Copy
Copied
node --version