talira

Simple Flutter Version Management

open sourceMITself-hostablefree

FVM (Flutter Version Management) manages Flutter SDK versions per project, so you can switch between versions instantly without reinstalling, keep a team's builds consistent and test new releases without changing your global SDK. A project's .fvmrc file pins its Flutter version and can name a version per flavor, fvm use and fvm install set and fetch versions, and fvm flutter and fvm dart run the pinned SDK's tools; fvm spawn and fvm exec run commands with a given version. It works only through Flutter's own tools rather than overriding them, supports monorepos and editor setups for VS Code and Android Studio, and installs with Homebrew, Chocolatey, an install script or dart pub global. MIT licensed.

Problems it solves

  • use different Flutter SDK versions for different projects on one machine
  • pin the Flutter version my team uses so everyone builds the same way
  • test my app on a new Flutter release without breaking my global install
  • switching Flutter channels is slow and makes me reinstall the SDK
  • pin the Flutter version in CI to match the project
  • use a different Flutter version per app flavor

Features

  • per-project Flutter SDK versions pinned in .fvmrc
  • instant switching between installed versions without reinstalling
  • fvm use, install, list, releases, remove and global commands
  • fvm flutter and fvm dart run the project's SDK
  • fvm spawn and fvm exec run commands with a chosen version
  • versions per project flavor
  • monorepo support
  • VS Code and Android Studio configuration
  • install with Homebrew, Chocolatey, an install script or dart pub global

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what FVM does.

  1. mise dev tools, env vars, task runner
  2. asdf Manage multiple runtime versions with a single CLI tool, extendable via plugins

Compare FVM with the top 3