The Flywheel Command-Line Interface (CLI)
The Command-Line Interface (CLI) provides a powerful way to interact with Flywheel. This article gives an overview of the features of the Flywheel CLI along with some examples.
New CLI (in BETA)
Flywheel is currently building an entirely new CLI, which will eventually replace the legacy CLI.
The new CLI is currently available for all customers as a BETA release for OSX and Linux. The new CLI can be installed alongside the legacy CLI and used independently. When installed, the new CLI is available via the fw-beta
command.
The new CLI is the only supported CLI for the following use cases which are not available via the legacy CLI:
- Bulk Import
- Bulk Export
- External Storage Management
- Gear Development
- Gear Job Management
Refer to the new CLI documentation for more information.
Get the Flywheel CLI
See our article on downloading and installing the Flywheel CLI.
If you already have the Flywheel CLI installed, see our article on updating the CLI to ensure compatibility with your Flywheel site.
Usage
To view the available list of commands, run fw -h
. More information about each command can found in the Command References documentation folder.
Getting Help
With any command, you can add -h or --help to get more information. For example, with the ls
command we'll see in the following section:
Learn More
The following articles explain how to use the Flywheel CLI for common tasks: