Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, MacPorts, Nix, pacman, scoop 安装 fvm

查看 fvm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fvm

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fvm

MacPorts ports tree · devel/fvm/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#fvm

nixpkgs package indexes · pkgs/by-name/fv/fvm/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S fvm

Arch Linux sync databases · fvm · 来源: geo.mirror.pkgbuild.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.

时间线

  • 2019: Public GitHub repository created.
  • 2019: Package first published on pub.dev.
  • 2020: 1.x releases published on GitHub.
  • 2023: 3.x series uses `.fvmrc` while keeping legacy `.fvm/fvm_config.json` compatibility.
  • 2025: 4.0.0 adds custom or forked Flutter SDK repository support and Melos integration.
  • 2026: 4.1.x releases focus on safer CI behavior and leaner git cache handling.

Related projects

  • FVM manages the Flutter SDK and Dart tooling rather than replacing them.
  • Flutter Sidekick is a related GUI project linked from the FVM README.
  • Melos integration matters for Dart and Flutter monorepos.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.fvmrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fvmcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.1.2
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本4.1.2

https://github.com/leoafarias/fvm

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖dartaotruntime
构建依赖dart-sdk
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefvm
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

fvm

nix profile install nixpkgs#fvm
  • normalized package name match
  • 匹配方式:Fvm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fv/fvm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

fvm 4.1.0-1

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

https://fvm.app

sudo pacman -S fvm
  • License: MIT
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Fvm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: fvm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

fvm

sudo port install fvm
  • normalized package name match
  • 匹配方式:Fvm
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/fvm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

fvm

choco install fvm
  • normalized package name match
  • 匹配方式:Fvm
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: fvm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','flow-launcher'
Scoop95%

extras/fvm

scoop install extras/fvm
  • normalized package name match
  • 匹配方式:Fvm
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/fvm.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment