Skip to content

Flutter SDK

Installs: Flutter (stable/beta) -> /opt/flutter + Linux desktop build tools. Toolchain id: flutter.

Preview the install with the default options. This prints every script it would run and changes nothing:

Terminal
npx linux-toolchain --only flutter --defaults --dry-run

Set an option with --opt instead of its default:

Terminal
npx linux-toolchain --only flutter --opt flutter.channel=beta --defaults --dry-run

Remove --dry-run to install for real. Without --defaults, the options below are asked interactively. bunx linux-toolchain takes the same arguments.

Set with --opt flutter.<key>=<value>. Multi options take a comma list (an empty value means none); yes/no options take true or false.

Option Kind Choices Default
flutter.channel
Channel
select (one value) stable
beta
stable
flutter.addons
Add-ons
multi (comma list) see Add-ons fvm

Chosen in the add-ons step or with --opt flutter.addons=.... Recommended add-ons are pre-checked and installed with --defaults. A failed add-on is reported as a warning; the toolchain itself still succeeds.

  • android-sdk Android SDK (selects the android component) Also selects the android toolchain.
  • web Web support (flutter config –enable-web)
  • fvm (Flutter version manager) Default.
  • The add-on android-sdk selects the android toolchain, which is then asked about too. --opt android.<key>=<value> may target it.

Back to the toolchain reference. Run npx linux-toolchain list to print the catalog of the version you have.