nx Command Examples

Manage nx workspaces. More information: https://nx.dev/l/r/getting-started/nx-cli.

nx build {{project}}

nx test {{project}}

nx run {{project}}:{{target}}

nx run-many --target {{target}} --projects {{project1}},{{project2}}

nx run-many --target {{target}} --all

nx affected --target {{target}}