pnpm · pnpm Docs
pnpm -r, --recursive
Executes specific commands across all projects within a pnpm workspace using the recursive flag.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/pnpm-r-recursive-workflow-guide.md | Documentation 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.text | A 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.text | A 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.text | A 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.text | An 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://pnpm.io/cli/recursive