yarn workspace — Yarn CLI reference
Run a command in a workspace
Docs/Reference/CLI/workspace
yarn workspace
Run a command in a workspace
yarn workspace <WORKSPACE> <ARGS…>
This command changes into the selected workspace and runs another Yarn command from there.