Start here

Choosing platforms

Run any command for one platform, a few, or all of them.

One platform

PlatformReleasePatchPreview
Androidotadart release androidotadart patch androidotadart preview android
iOSotadart release iosotadart patch iosotadart preview ios
macOSotadart release macosotadart patch macosotadart preview macos
Windowsotadart release windowsotadart patch windowsotadart preview windows
Linuxotadart release linuxotadart patch linuxotadart preview linux

A few platforms

You wantCommand
Android and iOSotadart patch android ios
Same, with commasotadart patch android,ios
Same, with -potadart patch -p android -p ios
iOS and macOSotadart release ios macos

Platforms patched together get the same patch number.

All platforms

You wantCommand
Every platform in your projectotadart release all
All except Linuxotadart patch all --skip linux
All except twootadart patch all --skip windows --skip linux

“all” looks at the android, ios, macos, windows and linux folders in your Flutter project.

Let OTADart ask

$ otadart patch
Which platform?
  1. Android
  2. iOS
  3. All of them
Choose (e.g. 1 or 1,2) [3]:

Run a command without a platform and it asks you. Press Enter for all.

Short names

TypeMeans
mac, osxmacos
winwindows
iphone, ipadios

Made a typo? OTADart suggests the closest platform.

Related: Install & activate · Quick start · Preview · App IDs & public keys · Platform availability