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
Refer to the official installation documentation
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
nvm install "16.14.2"
followed by
nvm use "16.14.2"
Then check to make sure that node was installed properly by running the command
node --version