Builderoom
Install

The package manager for JavaScript, used to install, manage, and publish JavaScript dependency packages.

Proprietary
安装命令(说明)bash
curl -qL https://www.npmjs.com/install.sh | sh
最小用法bash
npm <command>

Product facts

Type
CLI / Terminal
Category
Development & Engineering › Package Registries
Pricing
Open source
License
Proprietary
Launched
Sep 28, 2026
Listed
Sep 28, 2026
Website
github.com

Overview

GitHubGitHub

npm is the command-line interface (CLI) package manager for the JavaScript ecosystem, distributed and installed by default with Node.js. It primarily helps developers manage project dependencies, download and install packages from a registry, and publish packages to the npm Public Registry or other compatible third-party registries.

Runtime Requirements

Using npm requires a currently supported version of Node.js. You can find the list of supported versions on the Node.js releases page.

Installation

npm comes bundled with Node.js by default, and most third-party distributions include it as well. Besides downloading and installing Node.js from nodejs.org, you can install it directly using the official install.sh script:

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

If you need to manage multiple versions of Node.js or npm on the same machine, use a node version manager.

Basic Usage

Invoke it in your terminal using the following format:

npm <command>

Registry Configuration

npm is configured by default to use the npm Public Registry (https://registry.npmjs.org). You can also configure it to use other compatible third-party registries.

Documentation & Support

  • Official documentation is available at docs.npmjs.com, or you can search it locally via npm help-search <query>.
  • Bug tracking and community discussions take place on GitHub.
  • Monitor website and registry service status at status.npmjs.org.

About the Name

npm should not be capitalized (except in all-caps display environments). It is not an acronym for "Node Package Manager", but rather a recursive backronym standing for "npm is not an acronym". Its predecessor was a bash tool called "pm".

Key features

  • Dependency management: Install, update, and manage JavaScript project dependencies via CLI commands.
  • Registry support: Uses the npm Public Registry by default, and can be configured for other compatible third-party registries.
  • Ships with Node.js: Bundled with Node.js by default, ready to use without extra configuration.
  • Multi-version management: Works with a node version manager to handle multiple Node.js and npm versions in one environment.
  • Local documentation search: Search official docs locally using the npm help-search command.

Releases

Notify me

Initial · npm

Q&A

Does npm stand for "Node Package Manager"?AI-generated
No. npm is a recursive backronym that stands for "npm is not an acronym". Its predecessor was a bash tool named "pm", short for "pkgmakeinst". If it must be treated as an abbreviation, it might mean "node pm" or "new pm".
How do I install npm?AI-generated
npm is installed by default with Node.js. You can also install it directly by running curl -qL https://www.npmjs.com/install.sh | sh. To manage multiple versions, a node version manager is recommended.
Can npm only use the official registry?AI-generated
No. npm is configured by default to use the npm Public Registry (https://registry.npmjs.org), but you can configure it to use any compatible third-party registry.
What environment is required to run npm?AI-generated
You need a currently supported version of Node.js. Check the Node.js releases page for the full list of supported versions.
Install
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

The product content on this page was translated by AI from the author's original.