Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
antfu avatar

Pnpm

  • 18k installs
  • 5.7k repo stars
  • Updated June 23, 2026
  • antfu/skills

pnpm is a Node.js package manager that uses strict dependency resolution and content-addressable storage for efficiency.

About

Fast, disk-efficient package manager for Node.js with strict dependency resolution. Use when setting up monorepos, managing workspaces, or optimizing disk usage across multiple projects. Enforces dependency integrity by default.

  • Strict dependency resolution prevents phantom dependencies
  • Content-addressable storage for disk efficiency across projects
  • Monorepo support with workspace filtering and catalogs

Pnpm by the numbers

  • 18,046 all-time installs (skills.sh)
  • +553 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #15 of 1,453 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

pnpm capabilities & compatibility

Works with
github
Use cases
ci cd · devops
Runs
Runs locally
Pricing
Free
From the docs

What pnpm says it does

pnpm enforces strict dependency resolution by default, preventing phantom dependencies.
SKILL.md
It uses a content-addressable store to deduplicate packages across all projects on a machine, saving significant disk space.
SKILL.md
npx skills add https://github.com/antfu/skills --skill pnpm

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18k
repo stars5.7k
Security audit2 / 3 scanners passed
Last updatedJune 23, 2026
Repositoryantfu/skills

How do you set up pnpm in GitHub Actions CI?

Configure and manage Node.js dependencies in monorepos using strict resolution and disk-efficient storage.

Who is it for?

Monorepo setups, workspace management, enforcing dependency integrity, reducing disk space usage

Skip if: Projects requiring strict npm/Yarn compatibility at the exact behavior level

When should I use this skill?

User asks to optimize pnpm in CI/CD, configure GitHub Actions for pnpm, or speed up monorepo install caches.

What you get

GitHub Actions YAML with pnpm/action-setup, Node cache integration, and version-pinned install/build steps

  • GitHub Actions workflow YAML
  • cached pnpm install steps

By the numbers

  • pnpm 10.x or later supports strict dependency resolution by default
  • Workspace catalogs enable centralized dependency version management

Files

SKILL.mdMarkdownGitHub ↗

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.

Core

TopicDescriptionReference
CLI CommandsInstall, add, remove, update, run, exec, dlx, and workspace commandscore-cli
Configurationpnpm-workspace.yaml, .npmrc settings, and package.json fieldscore-config
WorkspacesMonorepo support with filtering, workspace protocol, and shared lockfilecore-workspaces
StoreContent-addressable storage, hard links, and disk efficiencycore-store

Features

TopicDescriptionReference
CatalogsCentralized dependency version management for workspacesfeatures-catalogs
OverridesForce specific versions of dependencies including transitivefeatures-overrides
PatchesModify third-party packages with custom fixesfeatures-patches
AliasesInstall packages under custom names using npm: protocolfeatures-aliases
HooksCustomize resolution with .pnpmfile.cjs hooksfeatures-hooks
Peer DependenciesAuto-install, strict mode, and dependency rulesfeatures-peer-deps

Best Practices

TopicDescriptionReference
CI/CD SetupGitHub Actions, GitLab CI, Docker, and caching strategiesbest-practices-ci
MigrationMigrating from npm/Yarn, handling phantom deps, monorepo migrationbest-practices-migration
PerformanceInstall optimizations, store caching, workspace parallelizationbest-practices-performance

Related skills

Forks & variants (3)

Pnpm has 3 known copies in the catalog totaling 53 installs. They canonicalize to this original listing.

How it compares

Use the pnpm skill for cache-tuned GitHub Actions YAML; consult package docs for local workspace linking beyond CI.

FAQ

What is the workspace protocol in pnpm?

The workspace protocol allows dependencies to reference other packages in the same monorepo using workspace:* instead of version numbers.

How does pnpm save disk space?

pnpm uses a content-addressable store and hard links to deduplicate packages across all projects on a machine.

Is Pnpm safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDbackenddevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.