pnpm Cheat Sheet/Run in parallel

Run a script in parallel across packages.

Section: Filtering and Recursive Execution

Run in parallel

bash
bash
pnpm -r --parallel run dev
Explanation

Run a script in parallel across packages.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Filtering and Recursive Execution
Install across workspace
Run install recursively across workspace packages.
OpenIn sheetbashsame section
Run build in all workspace packages
Run a script recursively in all packages.
OpenIn sheetbashsame section
Operate on one workspace package
Limit a command to a selected workspace package.
OpenIn sheetbashsame section
Filter package and dependents
Target a package and packages that depend on it.
OpenIn sheetbashsame section
Filter package and its deps
Target a package and its dependency chain.
OpenIn sheetbashsame section
Filter by directory
Target packages by path selector.
OpenIn sheetbashsame section