curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
 
nvm ls # list of installed versions
nvm install 18 # install node 18
nvm install 20 # install node 20
nvm use 18 # use node 18