Back to Daily Feed 
pnpm 12 RC 0: Enhanced Global Installs & Dependency Handling
Worth Reading
Originally published on pnpm Releases
View Original Article
Share this article:
Summary & Key Takeaways
pnpm setupand global modifications viasudonow explicitly fail withERR_PNPM_SUDO_NOT_SUPPORTED.file:dependencies are now re-copied correctly when their source directory changes.- Concurrent installs sharing a global virtual store no longer fail due to directory removal issues.
link:dependencies underenableGlobalVirtualStorenow ensure linked children are materialized.- Headless installs (
--frozen-lockfile) now correctly create command shims for hoisted workspace packages.
Our Commentary
I'm glad to see pnpm tightening up its sudo behavior. It always felt a bit off that global commands could silently operate on the root user's home. This RC also addresses some long-standing quirks with file: and link: dependencies, which is a win for monorepo users. The concurrent install fixes are also a big deal for CI/CD pipelines. We're seeing a lot of polish here.
View Original Article
Share this article: