Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

npm

npmjs.com

  • Free plan
  • Windows
  • macOS
  • Linux
8.4 Club score Visit npmjs.com

What npm is

npm is a JavaScript package registry and command-line tool for sharing code and managing packages. Its free Registry and CLI support public package publishing and use, and the Free plan gives public package authors unlimited public packages. npm accepts package.json folders, gzipped tarballs, URLs, name-and-version or tag references, and Git URLs. Its tools support dependency resolution, lockfiles, workspaces, private registry authentication, and offline installation. npm runs on Linux, macOS, Windows, and other operating systems through Node.js installers or version managers. For private packages, the Paid user account plan costs $7 per month. Pro is also $7 per month for individual creators and includes unlimited private packages with package-based permissions; Teams is $7 per user per month and includes unlimited private packages with team-based permissions. Organizations can manage members, teams, roles, permissions, and package access. All plans include basic support and automatic security warnings. Paid billing begins when card information is submitted, with the first month charged immediately.

Who it suits

npm suits JavaScript developers who publish or use packages, whether public or private. Its Free plan is for public package authors, while Pro and Teams cover private packages for individuals and organizations.

Good to know, and what to watch

  • Free plan includes unlimited public packages
  • Supports lockfiles, workspaces, and dependency resolution
  • Private registry authentication and offline installation are supported
  • Teams plan includes unlimited private packages
  • Plans include automatic security warnings
  • Private publishing requires a paid plan
  • Paid billing begins when card information is submitted
  • The first paid month is charged immediately

Free

Free

For public package authors; unlimited public packages.

Paid user account

$7/mo

Pro

$7/mo

For individual creators; includes unlimited private packages and package-based permissions.

Teams

$7/mo

For teams and organizations; includes unlimited private packages and team-based permissions.

Free plan

Getting started

  1. Visit npmjs.com.
  2. Use the free Registry and CLI for public packages, or choose a paid plan for private packages.
  3. Install or use Node.js through an installer or version manager for your operating system.
  4. Publish or install packages using a supported package format or Git URL.
  5. For private publishing, submit credit card information to start paid billing.

Limits to check

The Free plan is for public package authors and covers unlimited public packages. Private publishing requires a paid plan: the Paid user account and Pro plans cost $7 per month, while Teams costs $7 per user per month.

The Club's review

npm is a package manager and registry for JavaScript developers who publish or consume shared code. It is a strong fit for public package work and established JavaScript workflows; private publishing requires a paid plan.

Overview

GitHub operates the npm Registry and CLI. The public registry contains more than two million packages and is relied upon by more than 17 million developers worldwide, making it a substantial hub for finding and distributing JavaScript code. The free plan lets public authors publish unlimited packages, while creators and teams pay for private packages.

npm works on Linux, macOS and Windows, with other operating systems supported through Node.js installers or version managers. Its JavaScript focus is a strength for projects in that ecosystem, but it is not a general-purpose answer for teams working primarily in other language ecosystems.

For broader comparisons, see JavaScript Package Managers, Package Managers and Package Registries.

Key features

Package distribution and dependency workflows

npm accepts package.json folders, gzipped tarballs, URLs, name-and-version or name-and-tag references, and Git URLs. Dependency resolution, lockfiles and workspace support cover routine dependency management and related packages within a project. Offline installation is useful when a network connection is unavailable, and private registry authentication supports access to private registries.

This breadth makes npm practical both for installing dependencies and publishing reusable JavaScript code. It also supports package permissions and organization management, with members, teams, roles and package access controls. Pro uses package-based permissions; Teams uses team-based permissions, a better fit when access needs to follow group membership.

Security and development workflows

Free, Pro and Teams include automatic security warnings for public packages. npm documents two-factor authentication for accounts, organizations, publishing and settings changes. Private packages can also be used in CI/CD workflows and Docker setups, which helps teams incorporate them into established development processes. All plans include basic support.

Pricing

The free plan costs nothing, billed monthly, and is designed for public package authors. It includes public package publishing and use, public registry access and unlimited public packages. For open public work, that removes a package-count cap; it does not include private publishing.

The Paid user account plan costs $7 a month, billed monthly, and enables installing and publishing private packages. Pro costs $7 a month for individual creators and includes unlimited private packages with package-based permissions. Teams costs $7 per user per month for teams and organizations, with unlimited private packages and team-based permissions. The per-user Teams charge is the important scaling consideration for larger groups.

Paid billing starts as soon as credit card information is submitted, and the first month is charged immediately. There is no free billing period for starting paid access, so readers should account for that upfront charge. All plan versions include unlimited public packages and automatic security warnings.

Platforms

npm supports Linux, macOS and Windows. Other operating systems are supported through Node.js installers or version managers, extending its reach beyond the three named platforms.

Who it's for

npm is best suited to JavaScript developers who need a widely used public registry, standard dependency workflows or a place to publish reusable code. Individual creators needing private packages can choose Pro; organizations that need private sharing and team-based access controls have a clear step up to Teams. Developers who only publish publicly can stay on the free plan.

It is a weaker fit when private publishing must be free or when the main need is package management for a different programming language. The paid private-package options also become less attractive when recurring per-user costs outweigh the value of managed team permissions.

Pros and cons

  • Pros: Unlimited public packages on the free plan make npm suitable for broad public distribution without a package-count limit.
  • Pros: Dependency resolution, lockfiles, workspaces and multiple package input formats support varied JavaScript project workflows.
  • Pros: Pro and Teams both provide unlimited private packages, with different permission models for individuals and groups.
  • Cons: Private publishing requires paid access, and paid billing begins with an immediate first-month charge when card details are submitted.
  • Cons: Teams is priced per user, so its cost grows with the organization.
  • Cons: Its focus is JavaScript development, limiting its appeal as a package manager for other language ecosystems.

Alternatives

For Python package management, choose uv: it is free, has a free plan, and supports Linux, macOS and Windows. For a free build system, Gradle supports Linux, macOS and Windows as well as API use. Rust developers can choose Cargo, a free package manager and build tool for Linux, macOS and Windows.

Hex is another freemium registry, with a free Open Source plan for public packages and a free trial. For JavaScript users who want a free, open-source package manager with no paid plans or usage limits stated, Yarn is an alternative. pip is a free option for Python package management, while Composer is free PHP dependency management under the MIT license.

Pixi is a free alternative with package hosting plans that include a global CDN, 100GB for public packages and unlimited channel users. For teams comparing tools by deployment model or project shape, browse Monorepo Management Tools and Package Registries.

Verdict

Choose npm if you work in JavaScript and want a large public registry, dependable dependency workflows and a free route to unlimited public package publishing. Its main advantage is the combination of ecosystem reach and useful project tooling; look elsewhere if you need private publishing without a monthly fee or a package manager centered on another language.

The verdict

npm covers public package publishing and package workflows, with paid plans for private publishing and team permissions. Note the immediate first-month charge when starting paid billing.

Questions people ask

Is npm free?

The npm Registry and CLI are free for community use. The Free plan is for public package authors and includes unlimited public packages.

How much do npm's private package plans cost?

The Paid user account plan costs $7 per month, and Pro costs $7 per month. Teams costs $7 per user per month.

Which operating systems does npm support?

npm runs on Linux, macOS and Windows, and other operating systems through Node.js installers or version managers.

Does npm support offline installation and lockfiles?

Yes. npm supports offline installation, lockfiles, dependency resolution and workspaces.

What is the difference between Pro and Teams?

Pro includes unlimited private packages and package-based permissions for individual creators. Teams includes unlimited private packages and team-based permissions for teams and organizations.

Who is behind npm?

GitHub is the company behind the npm Registry and npm CLI.

What the maker publishes

CI/CD Integration
npm documentation covers using private packages in a CI/CD workflow. source
Dependency resolution
Yes source
Developer Reach
npm is relied upon by more than 17 million developers worldwide. source
Docker Integration
npm documentation includes Docker and private modules. source
Free plan
Yes source
Free Plan Scope
The Free plan is for public package authors and includes unlimited public packages. source
Free Registry
The npm Registry and npm CLI are offered to the community for free. source
GitHub Ownership
GitHub is the company behind the npm Registry and npm CLI. source
JavaScript Focus
npm provides a JavaScript development experience and supports JavaScript code sharing. source
Lockfile support
Yes source
Offline installation
Yes source
Package formats
package.json folders,gzipped tarballs,URLs,name@version,name@tag,Git URLs source
Package Permissions
Pro offers package-based permissions, while Teams offers team-based permissions. source
Paid Billing Start
Paid billing starts when credit card information is submitted, with the first month charged immediately. source
Private Publishing Price
The paid user account plan costs $7 per month and enables private publishing. source
Private registry auth
Yes source
Pro Private Packages
Pro includes unlimited private packages for individual creators. source
Registry Scale
The free Registry has more than two million packages and is described as the largest software registry. source
Security Warnings
Free, Pro, and Teams include unlimited public packages and automatic security warnings. source
Paid from
7 source
Supported platforms
macOS,Windows,Linux,and other operating systems via Node.js installers or version managers source
Basic Support
All npm plan versions include basic support. source
Team Management
npm supports organizations, members, teams, roles, permissions, and package access management. source
Team Private Packages
Teams includes unlimited private packages for teams and organizations. source

Checked against the maker's pages on 27 Sept 2026.