B.2. Install Node.js

There are several good ways to install Node.js on your computer. You may wish to refer to https://nodejs.org/en/download/package-manager. When you become a skilled node developer, you may need to work with several node versions more or less simultaneously. Then you need several versions installed. In that case I recommend maintaning the software by nvm, the Node Version Manager. This entails installing that first.

B.2.1. Installation of node and npm

For ease of updating node along the way use nvm. You may wish to check nvm on github

Linux
Following the above link do
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Mac OS/X
Start a terminal end enter
brew install nvm
MS Windows
Start a terminal as administrator and enter
choco install nvm

Follow this in any operating system by the following command issued in a non administrator terminal. This command incidentally also gets the latest version, if used at a later date.

nvm install node

This command will install (or update) Node.js and npm the Node Package Manager. If you one day may decide to develop node software as another user, just repeat this last command from that users home directory.