nvm is a Node Version Manager, which allows you to run multiple versions of Node.js
To install nvm, run
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
To list all available node versions, run
nvm ls-remote
To install a particular Node.js version, run
nvm install 24
To activate/select a Node.js version, use
nvm use 24
To set the default node,.js version, run
nvm alias default 24
to list all installed Node.js versions
nvm ls
The versions with N/A are not installed.

Leave a Reply