Target packages by path selector.
Section: Filtering and Recursive Execution
Filter by directory
bash
bash
pnpm --filter ./packages/web... lintExplanation
Target packages by path selector.
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
Operate on one workspace package
Limit a command to a selected workspace package.
Filter package and dependents
Target a package and packages that depend on it.
Install across workspace
Run install recursively across workspace packages.
Run build in all workspace packages
Run a script recursively in all packages.