ffx


Usage: ffx [-c <config...>] [-e <env>] [--machine <machine>] [--stamp <stamp>] [-t <target>] [-T <timeout>] [-l <log-level>] [--isolate-dir <isolate-dir>] [-v] [subcommand...]

Fuchsia's developer tool

Options:


  -c, --config      override configuration values (key=value or json)
  -e, --env         override the path to the environment configuration file
                    (file path)
  --machine         produce output for a machine in the specified format;
                    available formats: "json", "json-pretty"
  --stamp           create a stamp file at the given path containing the exit
                    code
  -t, --target      apply operations across single or multiple targets
  -T, --timeout     override default proxy timeout
  -l, --log-level   sets the log level for ffx output (default = Debug). Other
                    possible values are Info, Error, Warn, and Trace. Can be
                    persisted via log.level config setting.
  --isolate-dir     turn on isolation mode using the given directory to isolate
                    all config and socket files into the specified directory.
                    This overrides the FFX_ISOLATE_DIR env variable, which can
                    also put ffx into this mode.
  -v, --verbose     logs ffx output to stdio according to log level
  --help            display usage information

Built-in Commands:
  config            View and switch default and user configurations
  daemon            Interact with/control the ffx daemon
  schema            Print out ffx schema
  target            Interact with a target device or emulator
  version           Print out ffx tool and daemon versions
  net               View and manage target network configuration
  net-test-realm    Manage a running Network Test Realm
  agis              Agis Service
  assembly          Assemble images
  audio             Interact with the audio subsystem.
  component         Discover and manage components
  coverage          Show coverage from test outputs
  cts               Build and run CTS tests.
  debug             Start a debugging session.
  doctor            Run common checks for the ffx tool and host environment
  driver            Support driver development workflows
  efi               Manipulate efi partition
  emu               Start and manage Fuchsia emulators.
  flutter           Interact with Flutter components on the target.
  fuzz              Start and manage fuzzers.
  input             Config input feature
  inspect           Query component nodes exposed via the Inspect API. 

If you
                    wish to see the JSON format of Inspect, you must pass
                    `--machine json` to the `ffx` command. 
For example to see
                    the Inspect JSON of all components running in the system,
                    run: 

ffx --machine json inspect show ``` log Display logs from a target device overnet Interact with the Overnet mesh package Create and publish Fuchsia packages platform Manage platform build prerequisites power Control system power features process_explorer Query processes related information product Discover and access product bundle metadata and image data. product-bundle Discover and access product bundle metadata and image data. profile Profile run-time information from various subsystems repository Inspect and manage package repositories scrutiny Audit the security of Fuchsia sdk Modify or query the installed SDKs self-test Execute the ffx self-test (e2e) suite session Control the session component. See https://fuchsia.dev/glossary#session-component. setui Modify and query settings. sl4f Manage the sl4f server starnix Control starnix processes test Run test suite trace Interact with the tracing subsystem. triage Analyze Logs and Inspect in snapshots to find problems. wlan Developer tool for manipulating WLAN state. storage Manage Fuchsia Filesystems guest Manage guest operating systems