Managing different node version with nvm on Windows
Nvm (Node Version Manager) allows you to quickly install and use different versions of node via the command line.
Do not install NodeJS directly, but always use nvm to correctly install and manage the versions. You might even have to uninstall existing NodeJS versions if you did not use nvm from the start.
Managing node versions
Check your current node version
Install specific node version
nvm install 16
Install the latest lts version
nvm install lts
Switching to specific Node version
This command needs admin rights:
nvm use 16