For help with specific subcommands, see Overview page.
usage: fx [--dir BUILD_DIR] [-d DEVICE_NAME] [-i] [-x] COMMAND [...] Run Fuchsia development commands. Must be run either from a directory that is contained in a Platform Source Tree or with the FUCHSIA_DIR environment variable set to the root of a Platform Source Tree. fx help flags: fx help [OPTION] --no-contrib Hide contrib commands (see //tools/devshell/README.md) --deprecated Do not hide deprecated commands Global fx options: fx [OPTION] ... --dir=BUILD_DIR Path to the build directory to use when running COMMAND. -d=DEVICE[:SSH_PORT] Target a specific device. DEVICE may be a Fuchsia device name to be resolved using device-finder or an IP address. An IPv4 address must be specified directly, while an IPv6 need to be surrounded by brackets. SSH_PORT, if specified, will be used for all commands that rely on SSH to connect to the device instead of the default SSH port (22). Note: See "fx help set-device" for more help and to set the default device for a BUILD_DIR. -i Iterative mode. Repeat the command whenever a file is modified under your Fuchsia directory, not including out/. -x Print commands and their arguments as they are executed. -xx Print extra logging of the fx tool itself (implies -x) --enable|disable=FEATURE Enable or disable a feature (non-persistent). Valid features: incremental (default=disabled, current=disabled) Packages are published and served incrementally by 'fx serve-updates' as they are built. Explicit 'fx build' is not required for most operations. ffx_discovery (default=enabled, current=enabled) Device discovery based on ffx instead of device-finder. legacy_set (default=enabled, current=enabled) Use 'fint' in 'fx set' for a build process more similar to infra. legacy_fastboot (default=enabled, current=enabled) Device provisioning based on legacy fastboot instead of ffx.