nvm is Node Version Manager, a command line tool that makes it easy to switch between multiple nodejs versions.

Common commands:

-- List installed versions
$ nvm ls

-- Show currently active nodejs version
$ nvm version

-- Switch active nodejs version
$ nvm use v14.4.0

-- List available nodejs versions
$ nvm version-remote

-- Install a specific version
$ nvm install 14.4.0

-- Uninstall a version
$ nvm uninstall 14.2.0

-- Clear cache dir - run periodically to free up space
$ nvm cache clear

Resources