pnpm
Dev ToolsFast, disk space efficient package manager
Release History
View all versions →pnpr@0.1.0-alpha.9Breaking1 fix9 featuresThis release introduces horizontal scalability for the shared-artifact cache and makes published build artifacts immutable. It also enhances the shared-artifact protocol and adds support for fixing lockfiles.
v11.25.0Breaking11 fixes19 featuresThis release introduces an opt-in feature for reusing dependency build output across machines using signed, organization-scoped artifacts via pnpr. It also enhances workspace task orchestration with per-task concurrency limits and improved scheduling, alongside various bug fixes and support for new artifact types.
v12.1.0Breaking11 fixes10 featuresThis release introduces significant improvements to workspace task orchestration, including per-task concurrency limits and a new dependency definition system. It also enhances the handling of remote build artifacts and token management for logins.
v12.0.0Breaking2 fixes6 featuresThis release introduces canonical dependency cycle breaking for consistent lockfiles and enhances Git dependency handling by treating them as identities. It also adds support for project-aware global bins and the ability to manage other package managers.
pnpr@0.1.0-alpha.81 fix5 featuresIntroduced an opt-in feature for reusing dependency build artifacts across machines via pnpr and enhanced registry revision handling for patches and package extensions.
v12.0.0-rc.112 fixes1 featureIntroduces the ability to approve multiple staged packages at once with `pnpm stage approve`. Also includes improvements to symlinking behavior in isolated node linkers and more specific update notification suggestions.
v11.24.010 fixes1 featureThis release introduces global build approvals and fixes several issues related to frozen lockfiles, dependency resolution, and configuration settings. The Rust CLI now correctly handles various settings and improves the behavior of workspace publishing and installation commands.
v12.0.0-rc.108 fixesThis patch release for pnpm addresses several issues related to `pnpm install --frozen-lockfile` failures, incorrect dependency resolution, and handling of package manager versions. It also refines the behavior of hoisted node linkers and the compatibility database.
v12.0.0-rc.9Breaking1 fix13 featuresThis release introduces significant enhancements to the Rust pnpm engine, including per-branch lockfiles, improved configuration options like `lockfileDir` and `shellEmulator`, and the addition of many CLI flags previously exclusive to the TypeScript version. It also enhances robustness by failing on unrecognized workspace settings and adding stricter store content checks.
v11.23.0Breaking6 fixes5 featuresThis release enhances configuration visibility with `pnpm config get` and `pnpm config list`, improves registry handling with new `registries` configuration options, and optimizes metadata fetching for `resolutionMode: time-based`. It also deprecates the `importPackage` pnpmfile hook.
v12.0.0-rc.8Breaking7 fixes17 featuresThis release introduces significant performance improvements in dependency resolution and installation, enhances the accuracy of `pnpm audit` reports, and refines the behavior of `packageImportMethod` and `pnpm init`.
pnpr@0.1.0-alpha.7Breaking1 fix3 featuresThis release enhances pnpr by improving packument response headers and refining how client registry configurations and resolution modes are communicated to servers. It also fixes an issue with pnpm installs honoring specific settings.
v12.0.0-rc.7Breaking6 fixes5 featuresThis release introduces significant improvements to registry configuration and resolution, including per-registry metadata support and enhanced `pnpr` protocol features. It also refines virtual store management with the new `virtualStoreType` setting.
v11.22.0Breaking7 fixes5 featuresThis release introduces performance improvements for Node.js runtime resolution and enhances the `pnpm deploy` command. It also refines configuration handling and introduces new settings for cache management and pruning.
v12.0.0-rc.6Breaking5 fixes7 featurespnpm v12 introduces robust support for managing and executing other package managers (npm, Yarn, Bun) within projects and via `pnpm dlx`. It also significantly improves Node.js runtime resolution speed and optimizes `pnpm install` performance with `pnprServer`.
v12.0.0-rc.5Breaking3 fixes2 featuresThis release introduces canonical dependency cycle breaking for deterministic lockfiles and improved peer resolution performance. It also fixes several issues related to lockfile generation and dependency updates.
v12.0.0-rc.419 fixes3 featuresThis release introduces new settings for pruning lockfile entries and synchronizing injected dependencies, alongside numerous bug fixes for improved performance and reliability in dependency management, especially in CI environments and complex workspace setups.
pnpr@0.1.0-alpha.61 fixThis patch release includes a bug fix related to catalog target validation and server cache isolation.
v12.0.0-rc.31 fixThis patch release corrects how command shims on POSIX systems handle target execution, ensuring accurate exit codes when targets are terminated by signals.
v12.0.0-rc.25 fixes3 featuresIntroduces project-aware global shims for executables and fixes several issues related to package installation, build processes, and registry compatibility. The new `globalShims` feature allows globally installed bins to follow project-specific runtime versions.
v11.21.0Breaking16 fixes2 featuresThis release introduces interactive group selection for global updates and improves the robustness of dependency resolution, Git dependency handling, and global command execution, especially in CI environments and with various registry configurations.
v12.0.0-rc.1Breaking15 fixes1 featureThis release significantly changes how Git dependencies are handled, resolving them through canonical HTTPS URLs and improving consistency. It also introduces several performance optimizations and bug fixes, including reduced memory usage during dependency resolution and faster installs.
v12.0.0-rc.0Breaking11 fixesThis release introduces stricter error handling for global installations with sudo and resolves several issues related to file handling, dependency management, and store locations.
v11.20.0Breaking5 fixes2 featuresThis release addresses a security vulnerability related to named registries by improving lockfile integrity and introducing registry-qualified keys. It also includes performance enhancements and fixes for proxy settings and dependency resolution.
v12.0.0-beta.4Breaking12 fixes2 featuresThis release addresses a critical security vulnerability in named registries and significantly improves performance for large and complex workspaces. It also introduces a new `npmjs:` alias for better control over registry resolution.
Common Errors
InstallWithFreshLockfileError2 reportsThe "InstallWithFreshLockfileError" in pnpm typically arises when the current node_modules state doesn't match the fresh lockfile, often due to manual modifications or incomplete prior installations. To fix this, first ensure all changes are committed or discarded. Then, delete the `node_modules` directory and run `pnpm install` to create a fresh installation directly from the lockfile.
TimeoutError1 reportTimeoutError in pnpm often arises from network congestion or slow server responses when downloading packages. Increase the `network-concurrency` setting in your `.npmrc` or `.pnpmfile.cjs` to allow more simultaneous downloads. Alternatively, switch to a faster mirror using the `registry` setting to improve package retrieval speed.
OnFatalError1 reportThe "OnFatalError" error in pnpm, often manifesting as "JavaScript heap out of memory," usually arises from insufficient memory allocated to Node.js during dependency installation, especially with large projects. Increase the Node.js heap size by setting the `NODE_OPTIONS` environment variable before running pnpm install, for example, `NODE_OPTIONS="--max-old-space-size=4096" pnpm install`. You can also try using a smaller, more targeted install by specifying particular dependencies.
Related Dev Tools Packages
Empowering everyone to build reliable and efficient software.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Next generation frontend tooling. It's fast!
An extremely fast Python package and project manager, written in Rust.
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Subscribe to Updates
Get notified when new versions are released