CLI tool
leoafarias/fvm avatar
leoafarias/fvm

fvm: one Flutter SDK version per project, many versions on disk

Flutter Version Management: A simple CLI to manage Flutter SDK versions.

5,537 stars285 forksDartMIT

At a glance

What is it?
A Dart CLI that keeps several Flutter SDKs installed at once and pins one to each project, so testing a new Flutter release stops meaning a full reinstall.
Who is it for?
fvm earns its place the moment a team has two Flutter versions in flight, because the expensive part of channel switching is the download rather than the selection. What the repository front page does not tell you is how a pin is stored, whether it travels in version control, and what happens when a channel is retired, and the README points to the getting started guide and FAQ on fvm.app.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 3 days ago.
What is it written in?
Mainly Dart, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • leoafarias/fvm5,537 ★ · +3
Star history
Repository2026-10-192026-11-22
leoafarias/fvm5.5k5.5k

3 Stars in the last 34 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The six problems behind the channel switch

The pitch is one sentence: fvm manages Flutter SDK versions per project and switches between them instantly without reinstalling. Everything after that sentence is a list of six separate pains, which is more precision than most READMEs in this space offer. You need several SDKs at once. Testing a release means changing channel. Channel switches are slow and need repeated reinstalls. It is hard to remember which SDK version last worked for an app. Flutter major updates can demand a total app migration. And development environments drift apart inside a team.

Those are not hypothetical. Each one maps to a distinct failure mode, and the fourth is the interesting one, because it is a bookkeeping problem rather than a performance problem. Knowing which version your app last built on is worth more than building fast when the app is large.

The repository reports 5,538 stars, 283 forks and 35 open issues, under the MIT license, written in Dart. The distribution shape is broader than a typical pub.dev package: alongside the Dart source in `lib/` and `internal/`, the tree carries `fvm.nuspec` for Windows packaging and three separate JSON manifests named for Linux, macOS and Windows. Publishing reaches pub.dev, GitHub binaries, Homebrew, Chocolatey and Docker images.

Reference counting SDKs before deleting them

The recent release trail is short: 4.3.0 on 2026-08-24, 4.3.1 on 2026-09-04 and 4.3.2 on 2026-10-15. The README does not describe what changed in each release; CHANGELOG.md at the top level is where that history lives.

The front page of the repository documents shipping, not using

This is the first thing worth knowing about the README, because it will waste your time if you go in expecting a quick start. The GitHub front page has six sections: Why FVM, Release Process (For Maintainers), Contributors, a pointer to a companion product, Troubleshooting, and License. There is no install command and no usage example anywhere on it.

Usage documentation lives elsewhere. The Why FVM list links to a getting started guide on fvm.app, and the Troubleshooting section is a single sentence pointing at that site's FAQ. So the repository you read while evaluating the tool is largely a maintainer handbook. Judge the CLI from the documentation site and treat this README as a second artifact.

The maintainer half is detailed, though. Creating a release means merging everything on main, creating a GitHub release with a semver tag that carries a `v` prefix (the documented example is `v4.0.0-beta.2`), writing the notes in the GitHub editor, and publishing. `.github/workflows/release.yml` then fires and deploys to pub.dev, GitHub binaries, Homebrew, Chocolatey and Docker, with progress visible in the Actions tab. Emergency releases take a different path: edit the version in `pubspec.yaml` by hand, then trigger `deploy_homebrew.yml` or `deploy_docker.yml` through manual dispatch. For a full emergency deployment you still create a normal GitHub release.

The last push on the default branch was 2026-11-02, and the newest release is 4.3.2 from 2026-10-15.

Two Dart toolchains, because the tool manages toolchains

The README's Dart note is short and it quietly undercuts the whole premise of the tool. Day-to-day development targets the repository's own SDK constraint, `>=3.6.0 <4.0.0`. Release automation lives under `tool/release_tool/` and needs Dart 3.8.0 or newer. Continuous integration pins that higher toolchain through the `RELEASE_DART_SDK` environment variable, currently set to 3.9.0, so the versions packaged for Homebrew and the other installers match what is built in CI.

So contributing to a Flutter version manager requires switching Dart SDKs depending on the task, which is either a nice bit of self-reference or an awkward admission that the bootstrap problem never goes away. Release work is the part that matters more, because that is what produces the artifacts you install, so the README's advice is to switch to Dart 3.8.0 or newer before running anything from `tool/release_tool/`.

If you are reading this to decide whether to adopt fvm rather than to patch it, none of this matters. If you are reading it to contribute, the Dart requirement note above is the first thing to get right.

Beyond the CLI: MCP exposure, sidekick, and CI scaffolding

The tree is worth reading past `lib/`. There is an `fvm_mcp/` directory, which suggests the CLI is exposed to agents over the Model Context Protocol. For a tool whose entire job is answering the question of which Flutter version a given project resolves to, that is a natural fit rather than a bolted-on extra.

There is also `example/`, `test/`, `tool/`, `scripts/`, `docs/` and `setup.sh` at the top level, plus the usual developer scaffolding: `.husky/` for git hooks, `analysis_options.yaml` for the Dart analyzer, and `dart_test.yaml`. Both `.actrc` and a `.docker/` directory are present, which suggests the test suite can be run through act rather than only on hosted runners. `AGENTS.md` and `CHANGELOG.md` sit alongside them.

The README closes by pointing at Flutter Sidekick, a separate repository by the same author, and routing troubleshooting to the documentation site's FAQ. Neither is a dependency; both are the natural next click.

What none of this settles is how a pin is represented. Whether the per-project selection is a checked-in config file or a local one, whether the cache is shared across machines or duplicated per user, and what happens to a pin when Flutter retires the channel it names are all questions the front page does not reach. They are the questions that determine whether fvm fits a team that wants the same SDK version in CI and on every laptop.

Editorial conclusion

fvm earns its place the moment a team has two Flutter versions in flight, because the expensive part of channel switching is the download rather than the selection. What the repository front page does not tell you is how a pin is stored, whether it travels in version control, and what happens when a channel is retired, and the README points to the getting started guide and FAQ on fvm.app. Start with the getting started guide for a single project, then read the FAQ.

Frequently asked questions

What does fvm actually do?

It keeps several Flutter SDKs installed side by side and selects one per project, so changing versions does not mean downloading an SDK again. The README frames the whole problem around channel switching: testing a release requires changing channels, and channel switches are slow and need repeated reinstalls.

Does fvm replace Flutter?

No. fvm is a Dart CLI that manages Flutter SDK installs on disk, distributed through pub.dev, Homebrew, Chocolatey and Docker images. The Flutter SDK itself is untouched. What fvm changes is which SDK a project resolves to, not what that SDK contains.

Which Dart version do I need to work on fvm?

Two, depending on the task. Day-to-day work targets the repository constraint of Dart 3.6.0 and above but below 4.0.0, while release tooling under tool/release_tool/ needs 3.8.0 or newer, with CI pinning 3.9.0 through the RELEASE_DART_SDK variable.

How does fvm avoid filling the disk with unused SDKs?

The README does not cover cache cleanup; its Troubleshooting section points to the FAQ on fvm.app.

Official sources

  1. leoafarias/fvm on GitHub
  2. License: MIT
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/leoafarias-fvm.svg)](https://hysenlabs.com/projects/leoafarias-fvm)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/leoafarias-fvm.svg)](https://hysenlabs.com/projects/leoafarias-fvm)

Was this useful?