pnpm
Basic Information
- Developer: Zoltan Kochan / pnpm community
- Country/Region: Global open-source community
- Official Website: https://pnpm.io
- GitHub: https://github.com/pnpm/pnpm
- Type: JavaScript/Node.js package manager
- First Release: 2017
- Latest Version: pnpm 10.x (2026)
- License: MIT
Product Description
pnpm is a fast, disk-space-efficient JavaScript package manager that uses content-addressable storage and hard links to ensure that the same version of a package is stored only once on disk, with different projects sharing it via hard links. pnpm 10.x introduces several significant improvements, including the use of SQLite for package indexing, global virtual storage, and configurable dependencies.
Core Features/Characteristics
- Disk Space Efficiency: Content-addressable storage ensures that the same version of a package is stored only once.
- Hard Links: Packages are shared via hard links, avoiding duplicate copies.
- Strict node_modules: Prevents phantom dependencies.
- Blazing Fast Installation: Global content storage, hard links, and parallel installation.
- Workspace Support: Native Monorepo support.
- SQLite Package Index: v10 uses SQLite to store package metadata ($STORE/index.db).
- Global Virtual Storage: Global installations and pnpm dlx default to using global virtual storage.
- Configurable Dependencies: Supports configDependencies, with a separate pnpm-lock.env.yaml lock file.
Key Changes in pnpm 10.x
- SQLite package indexing (MessagePack encoded), reducing file system calls.
- Global virtual storage ({storeDir}/links).
- Configuration no longer reads the pnpm field in package.json; pnpm-workspace.yaml must be used instead.
- pnpm link only accepts relative or absolute paths.
- Configurable dependencies are installed in the global virtual storage.
Business Model
- Completely Free and Open Source: MIT license.
- Community-Driven: Maintained and developed by the open-source community.
Market Performance
- The preferred package manager for new Monorepo projects in 2026.
- Leads npm and yarn in installation speed and disk efficiency.
- Adopted by mainstream projects such as Vue.js, Nuxt, and Astro.
- Weekly npm downloads continue to grow rapidly.
Relationship with the OpenClaw Ecosystem
pnpm is the package manager for OpenClaw. OpenClaw chose pnpm for its exceptional disk space efficiency, strict dependency isolation, and native Workspace support, which are crucial for managing OpenClaw's Monorepo structure. The SQLite package indexing and global virtual storage in pnpm 10.x further enhance installation performance and storage efficiency.
External References
Learn more from these authoritative sources: