Go to file
kreiserlee 4d2f932c91 rebuild 2024-06-15 14:47:15 +08:00
bin Use the Debian packaged version of node-gyp instead 2024-05-07 15:00:49 +08:00
debian rebuild 2024-06-15 14:47:15 +08:00
docs Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
lib fix for chalk 5 2024-05-07 15:00:49 +08:00
mock-registry Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
node_modules fix for node-https-proxy-agent >= 7 2024-05-07 15:00:49 +08:00
scripts Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
smoke-tests Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
tap-snapshots/test/lib Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
test Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
workspaces drop __proto__ calls in tests 2024-05-07 15:00:49 +08:00
.commitlintrc.js Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
.eslintrc.js Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
.eslintrc.local.json Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
.licensee.json Import Upstream version 8.5.1~ds 2023-02-16 14:45:21 +08:00
.mailmap Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
.npmrc Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
.release-please-manifest.json Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
AUTHORS Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
CHANGELOG.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
CODE_OF_CONDUCT.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
CONTRIBUTING.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
DEPENDENCIES.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
LICENSE Import Upstream version 8.5.1~ds 2023-02-16 14:45:21 +08:00
README.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
SECURITY.md Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
configure Import Upstream version 8.5.1~ds 2023-02-16 14:45:21 +08:00
index.js Import Upstream version 8.5.1~ds 2023-02-16 14:45:21 +08:00
package-lock.json Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
package.json Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00
release-please-config.json Import Upstream version 9.2.0~ds1 2024-05-07 14:59:55 +08:00

README.md

npm - a JavaScript package manager

npm version license CI - cli Benchmark Suite

Requirements

One of the following versions of Node.js must be installed to run npm:

  • 14.x.x >= 14.17.0
  • 16.x.x >= 16.13.0
  • 18.0.0 or higher

Installation

npm comes bundled with node, & most third-party distributions, by default. Officially supported downloads/distributions can be found at: nodejs.org/en/download

Direct Download

You can download & install npm directly from npmjs.com using our custom install.sh script:

curl -qL https://www.npmjs.com/install.sh | sh

Node Version Managers

If you're looking to manage multiple versions of node &/or npm, consider using a "Node Version Manager" such as:

Usage

npm <command>
  • Documentation - Official docs & how-tos for all things npm
    • Note: you can also search docs locally with npm help-search <query>
  • 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 the npm website or registry? File a ticket here

Acknowledgments

  • npm is configured to use the npm Public Registry at https://registry.npmjs.org by default; Usage of this registry is subject to Terms of Use available at https://npmjs.com/policies/terms
  • You can configure npm to use any other compatible registry you prefer. You can read more about configuring third-party registries here

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 on man 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 to npm was actually a bash utility named "pm", which was the shortform name of "pkgmakeinst" - a bash function that installed various things on various platforms. If npm were to ever have been considered an acronym, it would be as "node pm" or, potentially "new pm".