MCPcopy Index your code
hub / github.com/npm/cli

github.com/npm/cli @v11.18.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v11.18.0 ↗ · + Follow
2,297 symbols 7,587 edges 729 files 10 documented · 0% updated 7d agolibnpmpack-v9.1.11 · 2026-06-29★ 9,912567 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

npm - a JavaScript package manager

Requirements

You should be running a currently supported version of Node.js to run npm. For a list of which versions of Node.js are currently supported, please see the Node.js releases page.

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.js &/or npm, consider using a node version manager

Usage

npm <command>

Links & Resources

Acknowledgments

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 an acronym for "Node Package Manager." It is a recursive backronymic abbreviation for "npm is not an acronym" (if the project were 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 ever considered an acronym, it would be as "node pm" or, potentially, "new pm".

Core symbols most depended-on inside this repo

exec
called by 1205
test/lib/commands/ll.js
resolve
called by 944
workspaces/arborist/test/edge.js
get
called by 716
workspaces/arborist/test/isolated-mode.js
get
called by 658
lib/commands/pkg.js
loadMockNpm
called by 649
test/lib/commands/view.js
push
called by 603
workspaces/arborist/lib/arborist/build-ideal-tree.js
end
called by 492
lib/utils/format-search-stream.js
replace
called by 334
workspaces/arborist/lib/node.js

Shape

Method 1,012
Function 919
Class 366

Languages

TypeScript100%

Modules by API surface

workspaces/arborist/lib/node.js66 symbols
workspaces/config/lib/index.js59 symbols
workspaces/arborist/lib/query-selector-all.js58 symbols
mock-registry/lib/index.js50 symbols
workspaces/arborist/lib/arborist/reify.js47 symbols
lib/npm.js44 symbols
workspaces/arborist/lib/arborist/build-ideal-tree.js41 symbols
workspaces/arborist/lib/shrinkwrap.js33 symbols
workspaces/arborist/lib/edge.js31 symbols
docs/test/index.js30 symbols
lib/utils/display.js29 symbols
workspaces/arborist/test/arborist/reify.js25 symbols

Dependencies from manifests, versioned

@angular-slider/ngx-slider2.0.3 · 1×
@angular/forms10.2.4 · 1×
@emotion/react11.10. · 1×
@emotion/styled11.11.0 · 1×
@fixtures/has-package-exportsfile:fixtures-has-pa · 1×
@fullcalendar/core6.1.8 · 1×
@fullcalendar/daygrid6.1.8 · 1×
@fullcalendar/list6.1.8 · 1×
@fullcalendar/timegrid6.1.8 · 1×
@gar/promise-retry1.0.0 · 1×
@hello-pangea/dnd16.3.0 · 1×
@isaacs/bundle-metadep-duplication-a1 · 1×

Datastores touched

(mongodb)Database · 1 repos
dbnameDatabase · 1 repos
(mysql)Database · 1 repos
dbnameDatabase · 1 repos
dbnameDatabase · 1 repos

For agents

$ claude mcp add cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact