pnpm
A Node.js package manager that saves disk space by hard-linking packages from a shared store.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
2 more ways to get pnpm
Package managers
- Chocolatey
choco install pnpm - Homebrew
brew install pnpm
About pnpm
pnpm is a drop-in replacement for npm. Files inside node_modules are hard-linked from a single content-addressable store, so a package version used by many projects is kept on disk once. Resolution, fetching and linking run in parallel, which makes installs quick, especially on a warm store.
It has first-class monorepo support with a workspace protocol, filtering to run tasks only in changed projects, a single lockfile, and catalogs for defining a dependency version once. Its strict layout stops code from importing packages it never declared.
Strengths
- One copy of each package version on disk across projects
- Fast parallel installs
- Strong monorepo and workspace features
- Strict dependency layout catches undeclared imports
Limitations
- Strict layout can break tools that assume npm's flat node_modules
Details
- Pricing
- FreeFree and open source.
- License
- MIT
- Developer
- The pnpm contributors
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Best suited for
- JavaScript developers with many projects or large monorepos
- Categories
- Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to pnpm
Compare allSoftware that can replace pnpm for an important use case, and what changes if you switch.
Yarn
An independent open-source JavaScript package manager built around workspaces, with plugins and reproducible installs.
Yarn offers workspaces, a plugin system and a Plug'n'Play mode without node_modules, instead of pnpm's hard-linked shared store.
Bun
A JavaScript runtime, bundler, test runner and package manager in one executable, built as a faster drop-in for Node.js.
Bun includes a fast package manager inside a single runtime, bundler and test runner executable, though its Node compatibility is not complete.
Similar software
Related functionality, not necessarily a direct replacement.
Node.js
The JavaScript runtime that server-side JavaScript is built on, with the npm ecosystem behind it.
Nx
A monorepo build system with caching and task orchestration for faster local builds and CI.
nvm
Installs and switches between multiple Node.js versions per shell.
Fast Node Manager
Install and switch Node.js versions for different projects.
Deno
A JavaScript and TypeScript runtime with security on by default, TypeScript built in, and a complete toolchain in one binary.
Vite
A frontend build tool and development server with instant start and hot module replacement.