Back to Daily Feed 
pnpm 11.7 Introduces `frozenStore` for Read-Only Filesystems
Worth Reading
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
- The
frozenStoresetting allows pnpm to install packages from a read-only store, bypassing write operations. - This feature is particularly useful for environments with immutable filesystems, such as Nix or OCI layers.
- It requires Node.js versions >=22.15.0, >=23.11.0, or >=24.0.0.
- Bin-linking now tolerates read-only stores by skipping redundant chmod operations.
- pnpm can delegate dependency resolution to
pacquet, its Rust port, when configured. - The feature fails fast if the store is incomplete or if incompatible options like
--forceare used.
Our Commentary
This frozenStore feature is a big deal for anyone working with immutable infrastructure or containerized builds. We've seen so many headaches trying to get package managers to play nice with read-only layers. The explicit support for Nix-like environments is a smart move. It feels like pnpm is really doubling down on robustness for complex build pipelines. I'm curious how widely this will be adopted, but it definitely solves a pain point.
View Original Article
Share this article: