


You use npm to install Node.js packages from the npm repository. Npm is the Node Package Manager for Node.js and is normally installed alongside Optional: To check what version of Node.js that you're running, run the Optional: To make this version your default version, run the following: nvm alias default stable To install the latest version of Node.js, run the following: nvm install stable Once NVM is installed, you can install Node.js and npm. For more information about managing your Node.js installation

NVM is a bash script for managing installations of Node.js and npm.
