install

Manage pnpm dependencies with lockfile-respecting installs and mutations.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill install-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: install
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/pnpm/install
Command: npx skills add https://github.com/theslashdojo/dojo --skill install-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, and includes scripts (resource) components.

What problem does it solve?

Manage and mutate project dependencies in pnpm-based repositories while preserving reproducibility and avoiding lockfile drift. This skill helps agents and engineers perform installs, adds, removes, updates, prefetches, and inspections in a way that respects workspace scoping, build-script approvals, and CI requirements.

Core Features & Use Cases

  • Lockfile-respecting installs: Run reproducible installs with frozen lockfiles for CI and automation to avoid unintended dependency changes.
  • Workspace-aware mutation: Add, remove, or update packages scoped with filters or targeted at the workspace root to safely modify monorepos.
  • Fetch and cache workflows: Pre-warm pnpm stores for Docker or offline installs using pnpm fetch and inspect drift with pnpm outdated before mutating manifests.

Quick Start

Run a frozen lockfile install in CI by executing pnpm install --frozen-lockfile.

Frequently Asked Questions about install

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a frozen lockfile install in CI to ensure reproducible pnpm dependencies?

To ensure reproducible pnpm dependencies in CI, run a frozen lockfile install using pnpm install --frozen-lockfile, which enforces strict adherence to the lockfile and prevents unintended dependency drift during automation.

What is the best way to add or remove packages in a pnpm monorepo without breaking workspace scoping?

The best way to safely mutate dependencies in a pnpm monorepo is to apply workspace-aware filtering when adding, removing, or updating packages, ensuring changes are scoped correctly to specific workspaces or the workspace root.

Can I pre-warm a pnpm store for Docker builds and offline installations?

Yes, you can pre-warm a pnpm store for Docker caching and offline installations by using the pnpm fetch command, which prefetches dependencies into the local store before the actual installation step.

How do I inspect dependency drift in a pnpm workspace before mutating manifests?

To inspect dependency drift in a pnpm workspace before mutating manifests, use the pnpm outdated command, which checks for outdated packages and helps you evaluate necessary recursive updates before applying changes.

Does pnpm frozen-lockfile enforcement work for recursive updates and scoped dependency removals?

Yes, pnpm frozen-lockfile enforcement works for recursive updates and scoped dependency removals by preventing lockfile mutations during the process, ensuring CI pipelines fail if workspace filtering or package removals cause drift.