Prompt Buddy logoPrompt Buddy

pnpm · pnpm Docs

pnpm -r, --recursive

Executes specific commands across all projects within a pnpm workspace using the recursive flag.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

pnpm -r, --recursive

Executes specific commands across all projects within a pnpm workspace using the recursive flag.

When To Use

Use when you need to run commands like install, update, or publish across all individual packages in a monorepo workspace simultaneously.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/pnpm-r-recursive-workflow-guide.mdDocumentation detailing the options and aliases for the pnpm recursive command used to run operations across workspace projects.Questions about documentation detailing the options and aliases for the pnpm recursive command used to run operations across workspac...
examples/pnpm-r-recursive-pnpm-recursive-publish-command.textA text example demonstrating the use of the pnpm recursive publish command.Exact payloads, commands, or snippets shown in A text example demonstrating the use of the pnpm recursive publish command.
examples/pnpm-r-recursive-pnpm-recursive-no-bail-test-command.textA command line example demonstrating the use of the pnpm recursive flag combined with the no-bail option to run tests.Exact payloads, commands, or snippets shown in A command line example demonstrating the use of the pnpm recursive flag combined with the no-bail option to run tests.
examples/pnpm-r-recursive-pnpm-recursive-no-sort-test-command.textA text example demonstrating the use of the pnpm recursive command with the no-sort flag to run tests.Exact payloads, commands, or snippets shown in A text example demonstrating the use of the pnpm recursive command with the no-sort flag to run tests.
examples/pnpm-r-recursive-pnpm-recursive-reverse-run-clean.textAn example command demonstrating the use of the pnpm recursive flag with the reverse option to run a clean script.Exact payloads, commands, or snippets shown in An example command demonstrating the use of the pnpm recursive flag with the reverse option to run a clean script.

What This Skill Covers

    • CLI commands Misc. pnpm -r, --recursive Version: 11.x On this page # pnpm -r, --recursive Aliases: m , multi , recursive , -r Runs a command in every proje...
  • Main sections: Options ​, --link-workspace-packages ​, --workspace-concurrency ​, --[no-]sort ​, --reverse ​.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://pnpm.io/cli/recursive