Use nvm
List available version for installation
nvm ls-remote
Install a given version, example: v20.17.0
nvm install v20.17.0
List version already installed
nvm ls
Show currently used version
nvm current
v20.16.0
Use an installed version
nvm use v20.17.0
Make the a given version the default
nvm alias default v20.17.0