npm - a JavaScript package manager
Requirements
One of the following versions ofNode.js must be installed to runnpm
:
12.x.x
>=12.13.0
14.x.x
>=14.15.0
16.0.0
or higher
Installation
npm
comes bundled withnode
, & most third-party distributions, by default. Officially supported downloads/distributions can be found at:nodejs.org/en/download
Direct Download
You can download & installnpm
directly fromnpmjs.com using our custominstall.sh
script:
curl -qL https://www.npmjs.com/install.sh| sh
Node Version Managers
If you're looking to manage multiple versions ofnode
&/ornpm
, consider using a "Node Version Manager" such as:
Usage
npm<command>
Links & Resources
- Documentation - Official docs & how-tos for all thingsnpm
- Note: you can also search docs locally with
npm help-search <query>
- Note: you can also search docs locally with
- Bug Tracker - Search or submit bugs against the CLI
- Roadmap - Track & follow along with our public roadmap
- Feedback - Contribute ideas & discussion around the npm registry, website & CLI
- RFCs - Contribute ideas & specifications for the API/design of the npm CLI
- Service Status - Monitor the current status & see incident reports for the website & registry
- Project Status - See the health of all our maintained OSS projects in one view
- Events Calendar - Keep track of our Open RFC calls, releases, meetups, conferences & more
- Support - Experiencing problems with thenpmwebsite orregistry? File a tickethere
Acknowledgments
npm
is configured to use thenpm Public Registry athttps://registry.npmjs.org by default; Usage of this registry is subject toTerms of Use available athttps://npmjs.com/policies/terms- You can configure
npm
to use any other compatible registry you prefer. You can read more about configuring third-party registrieshere
FAQ on Branding
Is it "npm" or "NPM" or "Npm"?
npm
should never be capitalized unless it is being displayed in a location that is customarily all-capitals (ex. titles onman
pages).
Is "npm" an acronym for "Node Package Manager"?
Contrary to popular belief,npm
is not in fact an acronym for "Node Package Manager"; It is a recursive bacronymic abbreviation for"npm is not an acronym" (if the project was named "ninaa", then it would be an acronym). The precursor tonpm
was actually a bash utility named"pm", which was the shortform name of"pkgmakeinst" - a bash function that installed various things on various platforms. Ifnpm
were to ever have been considered an acronym, it would be as "node pm" or, potentially "new pm".
Package Sidebar
Install
npm i npm@8.6.0
Repository
Homepage
Version
8.6.0
License
Artistic-2.0
Unpacked Size
8.76 MB
Total Files
1838