NVM

As developers who rely on NodeJS, we often encounter applications that require different versions of Node to run. This is where NVM (Node Version Manager) comes in. NVM makes it easy to install multiple versions of Node.js on your machine and switch between them as needed.

Installing NVM on Mac

  • Open your terminal.
  • Run brew install NVM.

Installing NVM on Windows

  • Download and install the latest release of nvm-windows.

Using NVM

  • nvm --help Find all of the options available.
  • nvm install [Version] Installs the given version.
  • nvm current Shows the current version.
  • nvm use [Version] Switches to a specific version.