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