pnpm is a fast, disk space efficient package manager. It uses a content-addressable store to deduplicate packages across all projects on a machine, saving significant disk space. pnpm enforces strict dependency resolution by default, preventing phantom dependencies. Configuration should preferably be placed in pnpm-workspace.yaml for pnpm-specific settings.
Important: When working with pnpm projects, agents should check for pnpm-workspace.yaml and .npmrc files to understand workspace structure and configuration. Always use --frozen-lockfile in CI environments.
The skill is based on pnpm 10.x, generated at 2026-01-28.
TopicDescriptionReferenceCLI CommandsInstall, add, remove, update, run, exec, dlx, and workspace commandscore-cliConfigurationpnpm-workspace.yaml, .npmrc settings, and package.json fieldscore-configWorkspacesMonorepo support with filtering, workspace protocol, and shared lockfilecore-workspacesStoreContent-addressable storage, hard links, and disk efficiencycore-store
TopicDescriptionReferenceCatalogsCentralized dependency version management for workspacesfeatures-catalogsOverridesForce specific versions of dependencies including transitivefeatures-overridesPatchesModify third-party packages with custom fixesfeatures-patchesAliasesInstall packages under custom names using npm: protocolfeatures-aliasesHooksCustomize resolution with .pnpmfile.cjs hooksfeatures-hooksPeer DependenciesAuto-install, strict mode, and dependency rulesfeatures-peer-deps
TopicDescriptionReferenceCI/CD SetupGitHub Actions, GitLab CI, Docker, and caching strategiesbest-practices-ciMigrationMigrating from npm/Yarn, handling phantom deps, monorepo migrationbest-practices-migrationPerformanceInstall optimizations, store caching, workspace parallelizationbest-practices-performance