macOS
brew install fvmlocal Homebrew formula metadata
安装
brew install fvmlocal Homebrew formula metadata
nix profile install nixpkgs#fvmnixpkgs package indexes · pkgs/by-name/fv/fvm/package.nix · 来源: api.github.com
sudo pacman -S fvmArch Linux sync databases · fvm · 来源: geo.mirror.pkgbuild.com
choco install fvmChocolatey community package catalog · fvm · 来源: community.chocolatey.org
scoop install extras/fvmScoop official bucket manifest trees · bucket/fvm.json · 来源: api.github.com
概览
Manage Flutter SDK versions per project
历史
FVM is a Dart CLI for managing Flutter SDK versions per project. It fills the same role in Flutter workflows that tools such as rbenv, pyenv, nvm, or asdf fill for other language runtimes: pin a toolchain in project metadata and route developer commands through the selected SDK.
The public GitHub repository was created in February 2019, and the package appeared on pub.dev in October 2019. The project describes itself as Flutter Version Management and documents the problem it addresses as the need to use multiple Flutter SDKs, avoid slow channel switching, and keep team environments consistent.
By the 3.x series, FVM had moved its project configuration to a `.fvmrc` file, while keeping `.fvm/fvm_config.json` as a deprecated compatibility file. Later 4.x releases added stronger support for custom or forked Flutter SDK repositories, Melos integration, standalone executables, release automation, and more efficient git cache handling.
FVM is distributed as a Dart package and as prebuilt or package-manager installs. The upstream README notes release automation to pub.dev, GitHub binaries, Homebrew, Chocolatey, and Docker, which made it available both to Flutter developers already using Dart tooling and to developers who prefer system package managers.
The project also links to Flutter Sidekick, a related graphical companion from the same author, reflecting the split between a scriptable CLI for CI and project work and a friendlier desktop surface for some users.
Typical usage is to run `fvm use` in a Flutter project, commit the `.fvmrc` file, and invoke `fvm flutter` or `fvm dart` so commands run against the configured SDK. Official docs describe `.fvmrc` as the project config file and `.fvm/flutter_sdk` as the project symlink to the cached SDK.
For package maintainers, FVM is notable because it coordinates a language runtime, project-local metadata, IDE settings, shell commands, and CI behavior without replacing Flutter itself.
FVM is a clean example of a language-specific version manager becoming packaging infrastructure. Its value is not the Flutter SDK download alone, but the reproducible handoff between a project's version file, developer shell commands, IDE configuration, and automated builds.
The 3.x and 4.x changelog entries are especially interesting for package maintainers because they document migration pressure around config files, git cache size, forked SDKs, prebuilt binaries, and package-manager deployment.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.fvmrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fvm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/leoafarias/fvm
安装元数据
| 软件包键 | brew:fvm |
|---|---|
| 版本 | 4.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/fvm |
| 主页 | https://fvm.app |
| 仓库 | https://github.com/leoafarias/fvm |
| 上游文档 | https://fvm.app/documentation/getting-started/installation |
| 许可证 | MIT |
| 源码归档 | https://github.com/leoafarias/fvm/archive/refs/tags/4.1.2.tar.gz |
| 最后更新 | 2026-06-25T18:45:55Z |
| Pulse | updated |
| 依赖 | dartaotruntime |
| 构建依赖 | dart-sdk |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fvm |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fvm
nix profile install nixpkgs#fvmfvm 4.1.0-1
Flutter Version Management: A simple CLI to manage Flutter SDK versions.
sudo pacman -S fvmfvm
sudo port install fvmfvm
choco install fvmextras/fvm
scoop install extras/fvm来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.