Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nrwl/nx/llms.txt
Use this file to discover all available pages before exploring further.
nx run-many executes one or more targets across a specified set of projects (or all projects when no project filter is provided). Unlike nx affected, it does not filter by git changes—it runs against every project you specify.
Options
Target selection
One or more targets to run. Alias:
--target, -t. Accepts comma or space-separated values.The named configuration to use when running the targets. Alias:
-c.Project selection
Comma or space-separated list of project names or patterns to include. Alias:
-p. When omitted, the command runs against all projects in the workspace.Comma-separated list of projects to exclude from the run.
Execution
Maximum number of parallel task processes. Defaults to
3. Set to false to run serially. Can also be set via NX_PARALLEL.Controls how task output is displayed. Choices:
tui, dynamic, dynamic-legacy, static, stream, stream-without-prefixes.Stop after the first failed task.
Ignore cycles in the task graph.
Rerun tasks even when results are available in the cache. Alias:
--disable-nx-cache.Disable the remote cache for this run. Alias:
--disable-remote-cache.Skip running dependent tasks first.
Skip running sync generators associated with the tasks.
Run tasks in batches for executors that support batch execution.
Show the task graph instead of running it. Pass a file path to save to a file, or
stdout to print to the terminal.The tasks runner to use, as configured in
nx.json.Enable or disable the Nx Terminal UI. Conflicts with
--output-style.Whether to exit the TUI automatically after all tasks finish. Pass
true to exit immediately, false to never auto-exit, or a number of seconds for a countdown.Print additional information about the command.
Examples
The
--all flag is deprecated. Omitting --projects already runs against all projects in the workspace.Running multiple targets
You can pass multiple targets at once. Nx resolves the full task graph and runs each target in the correct dependency order:dependsOn configuration and cross-project dependencies.