nvm

Information

List currently installed node versions

nvm ls

List available remote node versions for install

nvm ls-remote

Show current active node version

nvm current

Show path for specified node version

nvm which <version>

Installing Versions

Install latest node release

nvm install node

Install specific node release (eg. LTS or version number)

nvm install --lts
nvm install <version>
nvm install v16

Install node version specified in project via .nvmrc file

Switching Versions

Switch to system node version

Switch to a specific node version (eg. LTS or version number)

Use node version specified in project via .nvmrc file

Run Node Commands

Run node scripts for specific versions directly

Last updated