Pnpm

🌐Community
by antfu · vlatest · Repository

Installs and manages Node.js dependencies using Pnpm, a fast and efficient package manager for improved project speed & security.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add pnpm npx -- -y @trustedskills/pnpm
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "pnpm": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/pnpm"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The pnpm skill allows AI agents to manage and execute package management tasks using pnpm, a fast, disk-space-efficient alternative to npm. It enables installing, updating, and managing Node.js packages with optimized performance and reduced dependency duplication.

When to use it

  • You need to install or update Node.js packages in a project efficiently.
  • You're working on a large-scale project where minimizing disk usage is important.
  • You want to run scripts defined in package.json using pnpm's command-line interface.

Key capabilities

  • Install packages with pnpm install.
  • Run scripts from package.json with pnpm run <script-name>.
  • Manage dependencies efficiently, reducing disk usage through hard linking.
  • Supports workspaces for managing multiple projects in a single repository.

Example prompts

  • "Install the latest version of Vue using pnpm."
  • "Run the build script defined in my project's package.json with pnpm."
  • "Update all packages in this project to their latest versions using pnpm."

Tips & gotchas

  • Ensure that Node.js and npm are installed before using pnpm.
  • Some projects may require specific configurations or scripts to work correctly with pnpm, so review the package.json file for compatibility.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
antfu
Installs
5.4k

🌐 Community

Passed automated security scans.