Back to Daily Feed 
pnpm 11 Beta 0: Major Store & Global Package Overhauls
Must Read
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Store Runtime Changes: Dependencies are now linked from a global virtual store.
- Optimized Index Format: Uses hex digests for file entries and stores hash algorithms once, improving lookup performance.
- SQLite for Package Index: Replaces individual JSON files with a single SQLite database for metadata, reducing I/O and improving space efficiency.
- Bundled Manifests: Package manifests are stored directly in the index, eliminating
package.jsonreads during resolution. - Global Virtual Store:
pnpm add -gandpnpm dlxnow use a global virtual store by default. - Isolated Global Packages: Each globally installed package gets its own isolated directory, preventing conflicts.
Our Commentary
This is a pretty big deal for pnpm users, and honestly, for anyone in the Node.js ecosystem who cares about package management. The shift to SQLite for the package index is a fascinating move. We've seen similar patterns in other tools trying to optimize I/O, and it makes a lot of sense for something as I/O-heavy as a package manager. "isolated global packages" feature - that's a really good idea. I wrestled with global package conflicts way too many times already. It's still a beta, of course, but the direction pnpm is taking here feels genuinely innovative and addresses some long-standing pain points.
Share this article: