NVM
NVM stands for Node Version Manager. It is a shell-based tool designed to manage multiple installations of Node.js on a single machine. It allows developers to install, switch between, and isolate different Node.js versions without affecting the system-wide Node. The original project nvm is primarily for Unix-like systems; Windows users typically use a separate port called nvm-windows.
NVM works by keeping downloaded Node.js distributions in a dedicated directory (commonly ~/.nvm) and updating shell
Common commands include: install to fetch a specific version, use to switch the active version, ls to
Installation is typically done by a shell script or package manager on Unix-like systems, for example curl
Notes: NVM keeps Node versions in user space, avoiding system-wide changes. It can coexist with OS package