nvm
node Version Manager
TLDR
Install Node.js version
$ nvm install [version]
Install latest LTS$ nvm install --lts
Use specific version$ nvm use [version]
List installed versions$ nvm ls
List available versions$ nvm ls-remote
Set default version$ nvm alias default [version]
SYNOPSIS
nvm [command] [options]
DESCRIPTION
nvm is Node Version Manager. Manages multiple Node.js installations.
The tool enables version switching per project. Shell-based version management.
PARAMETERS
install VERSION
Install Node.js version.use VERSION
Switch to version.ls
List installed versions.ls-remote
List available versions.alias NAME VERSION
Create version alias.uninstall VERSION
Remove version.--help
Display help information.
CAVEATS
Shell function not executable. Source in profile. Per-shell activation required.
HISTORY
nvm was created to allow easy switching between Node.js versions for development.
