Package Manager
npm
Node.js package manager.
- Install Command
- npm install {package}
- Check Command
- npm --version
- Homepage URL
- https://docs.npmjs.com/
- Bootstrap Note
- npm ships with Node.js, so installing Node.js installs npm.
- Has Install Step
- For Platform
macOS- Command
- brew install node
- Description
- Requires Homebrew.
- For Platform
Debian/Ubuntu- Command
- sudo apt-get install -y nodejs npm
- For Platform
Fedora/RHEL- Command
- sudo dnf install -y nodejs npm
- For Platform
Windows- Download URL
- https://nodejs.org/
- Description
- Download and run the LTS installer.
- For Platform
Cross-platform- Command
- nvm install --lts
- Description
- Version-managed install via nvm (https://github.com/nvm-sh/nvm). Install nvm first if it is not already present.