All apps/Nx

Nx

nx

Smart build system and monorepo tooling.

Runs as nx|macOS, Linux, Windows|nx.dev

Command form

ai-draft · 2 tasks · 22 fields

Run targets across projects or only affected projects.

Opens the form; the finished command lands at your prompt, unrun
otty gui nx

nx run-many

Run target for many projects

Run targets for listed projects or all of them.

Run target for many projectsExample values, fixed in this page — nothing here reaches a terminal
Basic
Targets*
string
All projects
--all
Exclude projects
string
Max parallel processes
integer
Advanced
Skip Nx cache
--skip-nx-cache
TasksEach one presets the form for one job
Run targets on all projects
targetsallexcludeparallelskip_cache
ParametersOnly these flags are editable in the form
Targets
string
--targets
Projects
string
--projects
All projects
boolean
--all
Configuration
string
--configuration-c
Exclude projects
string
--exclude
Max parallel processes
integer
--parallel
Skip Nx cache
boolean
--skip-nx-cache
Stop after first failure
boolean
--nx-bail
Show task graph
boolean
--graph
Verbose
boolean
--verbose

nx affected

Run target for affected projects

Run targets for projects affected by changes.

Run target for affected projectsExample values, fixed in this page — nothing here reaches a terminal
Basic
Targets*
string
Base commit
mainstring
Head commit
string
Advanced
Max parallel processes
integer
TasksEach one presets the form for one job
Affected since main
targetsbaseheadparallel
ParametersOnly these flags are editable in the form
Targets
string
--targets
Base commit
string
--base
Head commit
string
--head
Uncommitted changes
boolean
--uncommitted
Untracked changes
boolean
--untracked
Configuration
string
--configuration-c
Exclude projects
string
--exclude
Max parallel processes
integer
--parallel
Skip Nx cache
boolean
--skip-nx-cache
Stop after first failure
boolean
--nx-bail
Show task graph
boolean
--graph
Verbose
boolean
--verbose
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed nx against its version. A form that does not match your version is not offered.