The fw version Command
Use fw version to display the installed version of the Flywheel CLI.
Usage
Optional Arguments
| Optional Argument | Description |
|---|---|
-h, --help | Show help message and exit. |
-C PATH, --config-file | Specify configuration options via config file.* |
--no-config | Do NOT load the default configuration file. |
-y, --yes | Assume the answer is yes to all prompts. |
--ca-certs CA_CERTS | Path to a local Certificate Authority certificate bundle file. This option may be required when using a private Certificate Authority. |
--timezone TIMEZONE | Set the effective local timezone to use when uploading data. |
-q, --quiet | Squelch log messages to the console. |
-d, --debug | Turn on debug logging. |
-v, --verbose | Get more detailed output. |
* Learn more about how to create this file.
Example
Output:
When to Use This Command
- Troubleshooting: When reporting issues to Flywheel support, include your CLI version
- Compatibility Check: Verify your CLI version is compatible with your Flywheel site
- Update Verification: Confirm you're running the latest version after updating
Version Compatibility
The Flywheel CLI version should be compatible with your Flywheel site version. If you experience issues:
-
Check your CLI version:
-
Check your Flywheel site version in the web interface (click the help menu icon in the top-right corner)
-
If versions are significantly different, update your CLI:
Legacy vs. New CLI
Flywheel maintains two CLI versions:
| CLI | Command | Status | Use For |
|---|---|---|---|
| Legacy CLI | fw | Stable | Standard data operations |
| New CLI | fw-beta | Beta | Bulk operations, gear development, external storage |
To check the new CLI version:
See the New CLI documentation for details on beta features.
Understanding Version Numbers
Flywheel uses semantic versioning: MAJOR.MINOR.PATCH
- MAJOR: Significant changes, may require migration
- MINOR: New features, backward compatible
- PATCH: Bug fixes, backward compatible
Example: 20.3.1
- Major version: 20
- Minor version: 3
- Patch version: 1
Scripting with Version
When writing scripts, you can capture the version output: