Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

FVM

$ fvm Community Low Risk
Leo Farias · Workspace & SaaS · MIT · macos / linux / windows

FVM (btwld/fvm) manages multiple Flutter SDK versions per project via .fvmrc and fvm flutter wrapper execution across macOS, Linux, and Windows. Exposes a dedicated fvm api JSON endpoint (fvm api list -c) and non-interactive flags (--skip-pub-get, --no-setup, --force) for CI and coding agents.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install fvm
CLI vs MCP Decision CLI Only

fvm manages local Flutter SDK symlinks, SDK caches, and .fvmrc project bindings while proxying fvm flutter builds on disk.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Dedicated fvm api subcommands emit machine-readable JSON (-c compact, -s fast), and use/install accept non-interactive flags.

  • Dedicated fvm api list -c -s JSON API for tooling
  • Supports --skip-pub-get, --no-setup, and --force
Trust & Safety 22 / 25

Zero credential exposure, local .fvmrc isolation per repo, and non-destructive version switching.

  • No authentication or remote write side effects
  • Project-scoped .fvmrc avoids mutating global SDKs unless --global is passed
Setup & Portability 14 / 15

Compiled Dart/native packages distributed via Homebrew, Chocolatey, shell scripts, and GitHub releases across macOS, Linux, and Windows.

  • Cross-platform binary via brew install fvm and releases
Utility & Efficiency 12 / 15

Eliminates Flutter SDK version drift across multi-app teams, flavors, and CI runners.

  • Supports project flavors (--flavor) and fvm flutter pass-through
Maintenance & Lineage 8 / 10

Widely adopted MIT community project (btwld/fvm, created by Leo Farias).

  • De facto Flutter version manager under MIT license
Docs & Verifiability 7 / 10

Well-organized docs at fvm.app covering .fvmrc, flavors, and fvm api, though some commands default to interactive prompts if version args are omitted.

  • Official docs at fvm.app including fvm api schema

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No authentication required; caches Flutter SDKs under ~/fvm and writes project pins to .fvmrc.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; completely free with no account required.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# FVM (fvm) Agent Rules
- Query cached SDKs via `fvm api list -c -s` before installing a new version.
- Always run `fvm flutter ...` instead of bare `flutter` so the pinned `.fvmrc` version is used.
- Pass `--skip-pub-get` on `fvm use` if you want to control dependency resolution separately.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect cached Flutter SDKs as compact JSON
fvm api list -c -s

Returns installed Flutter versions and project configuration in compact JSON while skipping slow directory size scans.

List available Flutter releases
fvm releases

Displays official Flutter stable, beta, and dev channel releases without modifying local SDKs.

Controlled Writes & Previews

Pin a Flutter SDK version for the project
fvm use 3.24.0 --skip-pub-get

Downloads (if needed) and binds Flutter 3.24.0 in .fvmrc without auto-running flutter pub get.

Strengths for Agents

  • + Dedicated fvm api list -c -s gives agents fast, compact JSON about installed SDKs and project bindings.
  • + Per-project .fvmrc and flavor pinning keep mobile CI reproducible.

Caveats & Pitfalls

  • ! Omitting the <version> argument on fvm use can trigger interactive selection unless .fvmrc already exists.
  • ! Initial fvm install downloads full Flutter SDK trees (~1 GB+).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI