nodenv
Manage Node.js versions. tldr-pages
On several platforms
Several platforms
Install a specific version of Node.js
nodenv install versionIdentifyDisplay a list of available versions
nodenv install --listIdentifyUse a specific version of Node.js across the whole system
nodenv global versionIdentifyUse a specific version of Node.js with a directory
nodenv local versionIdentifyDisplay the Node.js version for the current directory
nodenv versionIdentifyDisplay the location of a Node.js installed command (e.g. npm)
nodenv which commandIdentify