Reference

CLI reference

Every command, with Android, iOS and all-platform examples.

Install

CommandWhat it does
curl -fsSL https://otadart.dev/install.sh | bashInstall on macOS or Linux
irm https://otadart.dev/install.ps1 | iexInstall on Windows (coming soon)
otadart upgradeUpdate to the latest version
otadart uninstallRemove the CLI from this computer
otadart --versionShow the installed version

Get started

CommandWhat it does
otadart loginSign in in your browser (Google or email)
otadart login --ciGet a token for CI
otadart initConnect your Flutter app
otadart doctorCheck your setup

Android

CommandWhat it does
otadart release androidBuild and register an Android release
otadart patch androidSend a fix to Android users
otadart preview androidRun on a phone or emulator with logs

iOS

CommandWhat it does
otadart release iosBuild and register an iOS release
otadart patch iosSend a fix to iOS users
otadart preview iosRun on an iPhone or simulator with logs

macOS, Windows & Linux

CommandWhat it does
otadart release macosBuild and register a macOS release
otadart release windowsBuild and register a Windows release
otadart release linuxBuild and register a Linux release
otadart patch macosSend a fix to macOS users (same for windows, linux)

All platforms

CommandWhat it does
otadart release allRelease every platform in your project
otadart patch allSame fix and same patch number on every platform
otadart patch android iosOnly the platforms you name
otadart patch all --skip linuxEverything except Linux
otadart patchAsks which platform

Manage patches

CommandWhat it does
otadart patches listSee patches and where they are live
otadart patches promote --patch-number 2Send patch #2 to everyone
otadart patches rollout --patch-number 2 --rollout 50Give patch #2 to half of users
otadart patches rollbackUndo: back to the store build

More

CommandWhat it does
otadart releases listSee your releases
otadart tracks listSee tracks
otadart apps listSee your apps
otadart accountWho am I signed in as
otadart logoutSign out
otadart help patchHelp for any command

Common options

OptionMeaning
--track betaSend to a test group
--rollout 25Send to 25% of users
--flavor prodUse a build flavor
--release-version 1.0.0+1Pick an older release (default: pubspec.yaml)
--dry-runCheck without uploading
--jsonOutput for scripts and CI

Related: API reference · CI & automation · Get help · Troubleshooting