Run a script in all workspaces.
Section: Workspace basics
Run script in all workspaces
bash
bash
npm run build --workspacesExplanation
Run a script in all workspaces.
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 Workspace basics
Install all workspace dependencies
Run install across all configured workspaces.
Create a new workspace
Create a workspace and update the root workspaces list.