blob: 86dc419eea28c70b4f506c1812b612241dfce6d7 [file] [log] [blame] [view]
# fx run
build Fuchsia and push to device
```none
usage: fx run [--no-build|[NINJA OPTION,...]] [--no-pkg-check] [--no-kill] TARGET [ARG,...]
Build ALL targets.
Execute 'fx shell killall TARGET'.
Execute 'fx shell run TARGET [ARGS].
--no-build do not execute a build
--no-pkg-check do not check for a package server
--no-kill do not kill all instances of matching components
NINJA OPTION
The following ninja options are passed to the build if invoked:
-C, -f, -j, -k, -l, -t, -w.
See fx ninja --help for more information on these flags.
TARGET is any form that 'run' on the target device accepts, as such it may
be a package url, or a non-ambiguous short-form.
ARG is passed to target without interpretation. All arguments after TARGET
are passed to TARGET.
```
[run source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/run)