Reference
CLI reference
Every command, with Android, iOS and all-platform examples.
Install
| Command | What it does |
|---|---|
| curl -fsSL https://otadart.dev/install.sh | bash | Install on macOS or Linux |
| irm https://otadart.dev/install.ps1 | iex | Install on Windows (coming soon) |
| otadart upgrade | Update to the latest version |
| otadart uninstall | Remove the CLI from this computer |
| otadart --version | Show the installed version |
Get started
| Command | What it does |
|---|---|
| otadart login | Sign in in your browser (Google or email) |
| otadart login --ci | Get a token for CI |
| otadart init | Connect your Flutter app |
| otadart doctor | Check your setup |
Android
| Command | What it does |
|---|---|
| otadart release android | Build and register an Android release |
| otadart patch android | Send a fix to Android users |
| otadart preview android | Run on a phone or emulator with logs |
iOS
| Command | What it does |
|---|---|
| otadart release ios | Build and register an iOS release |
| otadart patch ios | Send a fix to iOS users |
| otadart preview ios | Run on an iPhone or simulator with logs |
macOS, Windows & Linux
| Command | What it does |
|---|---|
| otadart release macos | Build and register a macOS release |
| otadart release windows | Build and register a Windows release |
| otadart release linux | Build and register a Linux release |
| otadart patch macos | Send a fix to macOS users (same for windows, linux) |
All platforms
| Command | What it does |
|---|---|
| otadart release all | Release every platform in your project |
| otadart patch all | Same fix and same patch number on every platform |
| otadart patch android ios | Only the platforms you name |
| otadart patch all --skip linux | Everything except Linux |
| otadart patch | Asks which platform |
Manage patches
| Command | What it does |
|---|---|
| otadart patches list | See patches and where they are live |
| otadart patches promote --patch-number 2 | Send patch #2 to everyone |
| otadart patches rollout --patch-number 2 --rollout 50 | Give patch #2 to half of users |
| otadart patches rollback | Undo: back to the store build |
More
| Command | What it does |
|---|---|
| otadart releases list | See your releases |
| otadart tracks list | See tracks |
| otadart apps list | See your apps |
| otadart account | Who am I signed in as |
| otadart logout | Sign out |
| otadart help patch | Help for any command |
Common options
| Option | Meaning |
|---|---|
| --track beta | Send to a test group |
| --rollout 25 | Send to 25% of users |
| --flavor prod | Use a build flavor |
| --release-version 1.0.0+1 | Pick an older release (default: pubspec.yaml) |
| --dry-run | Check without uploading |
| --json | Output for scripts and CI |