npm

npm

The default package manager bundled with Node.js, used to install, update, publish and manage JavaScript dependencies from the public npm registry, with package.json scripts, npx for running binaries, workspaces for monorepos, version ranges, audit, dedupe, outdated checks and scoped packages.

npm at npmjs.com is the free Artistic License 2.0 default Node package manager bundled with Node.js, installing updating publishing dependencies from registry.npmjs.org, package.json scripts, npx binary runner, workspaces, version ranges, audit dedupe outdated ci and scoped packages, package-lock.json, registry terms operated separately by npm Inc, no sold CLI commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is npm free?

npm: npm is free open-source software: the npm application is licensed under The Artistic License 2.0, copyrighted by npm, Inc. and contributors, while its Node package dependencies remain under their respective license terms. It ships bundled with every Node.js install and works against the public registry at registry.npmjs.org. Developers declare dependencies, scripts and metadata in package.json, lock versions in package-lock.json, run package binaries through npx, manage monorepo packages with workspaces, and run audit, dedupe, outdated and ci commands for dependency hygiene. The registry and website terms are governed separately by npm, Inc. No paid commercial edition or per-seat license is sold for the CLI itself (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is npm free?

It depends on the licence. The npm CLI is released under the Artistic License 2.0; bundled Node package dependencies carry their own license terms.

How much does npm cost?

npm is free open-source software: the npm application is licensed under The Artistic License 2.0, copyrighted by npm, Inc. and contributors, while its Node package dependencies remain under their respective license terms. It ships bundled with every Node.js install and works against the public registry at registry.npmjs.org. Developers declare dependencies, scripts and metadata in package.json, lock versions in package-lock.json, run package binaries through npx, manage monorepo packages with workspaces, and run audit, dedupe, outdated and ci commands for dependency hygiene. The registry and website terms are governed separately by npm, Inc. No paid commercial edition or per-seat license is sold for the CLI itself (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check npm's current pricing?

On npm's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is npm?

package.json lists dependencies and scripts, install pulls versions from the registry and writes them into node_modules, lockfiles pin resolved versions, and npx executes a package binary without a global install; workspaces let one repository hold multiple linked packages under a shared lockfile.

How does pricing work?

The CLI installs free under the Artistic License 2.0 with no seat license; the public registry itself operates under npm, Inc. terms, and any paid registry, support or enterprise arrangement would be a separate commercial contract.

How does npm compare with other tools in Dev Workflow & Productivity?

npm is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
npmOpen sourcenpm is free open-source software: the npm application is licensed under The Artistic License 2.0, copyrighted by npm, Inc. and contributors, while its Node package dependencies remain under their respective license terms. It ships bundled with every Node.js install and works against the public registry at registry.npmjs.org. Developers declare dependencies, scripts and metadata in package.json, lock versions in package-lock.json, run package binaries through npx, manage monorepo packages with workspaces, and run audit, dedupe, outdated and ci commands for dependency hygiene. The registry and website terms are governed separately by npm, Inc. No paid commercial edition or per-seat license is sold for the CLI itself (data as of Nov 22, 2026).Nov 22, 2026
pnpmOpen sourcepnpm is free open-source software released under the MIT License, copyrighted 2015-2016 by Rico Sta. Cruz and other contributors and 2016-2026 by Zoltan Kochan and other contributors. The project markets itself as a fast, disk space efficient package manager: on its published benchmarks it installs up to 69 times faster than npm on a real project across the states an install happens in, and 8.2 times faster in total across six scenarios. Resolution, fetching and linking run in parallel, and files inside node_modules are hard-linked from one content-addressable store, so a hundred projects on the same version cost one copy on disk; changed files add only the modified file to the store. Only declared dependencies are symlinked into the root node_modules, so code cannot quietly import a package it never installed. First-class monorepo support covers the workspace protocol for local packages, filtering tasks to touched projects and a single lockfile, while catalogs define a dependency version once in pnpm-workspace.yaml and reference it as catalog: everywhere. pnpm is a drop-in replacement for npm: install it once and run pnpm install in any project with an existing package.json. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
YarnOpen sourceYarn is an open-source JavaScript dependency manager positioned as fast, reliable and secure. The classic yarn package published to the npm registry is listed License: BSD-2-Clause on the registry metadata, with a description of fast, reliable and secure dependency management. It reads package.json, records resolved versions in yarn.lock, caches fetched packages for offline reuse, supports monorepo workspaces, and the modern Berry line introduces Plug'n'Play resolution that keeps dependencies in a virtual store rather than a traditional node_modules folder. The CLI installs through npm or the project site and talks to the same public npm registry; confirm the license of the specific Berry release on the project repository before redistributing a fork. No paid commercial edition or per-seat license is sold for the CLI itself (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

npm: The npm CLI is released under the Artistic License 2.0; bundled Node package dependencies carry their own license terms. Check the official site for any hosted plan.

Open source does not always mean every hosted version is free.

Key pricing: npm is free open-source software: the npm application is licensed under The Artistic License 2.0, copyrighted by npm, Inc. and contributors, while its Node package dependencies remain under their respective license terms. It ships bundled with every Node.js install and works against the public registry at registry.npmjs.org. Developers declare dependencies, scripts and metadata in package.json, lock versions in package-lock.json, run package binaries through npx, manage monorepo packages with workspaces, and run audit, dedupe, outdated and ci commands for dependency hygiene. The registry and website terms are governed separately by npm, Inc. No paid commercial edition or per-seat license is sold for the CLI itself (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitewww.npmjs.com
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates