fvm
Flutter 版本管理:一個簡單的 CLI 工具,用於管理 Flutter SDK 版本。
- 星標
- 5539
- 分支
- 283
- 最近推送(UTC)
- 2026年10月29日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
fvm
FVM manages Flutter SDK versions per project. Switch between Flutter versions instantly without reinstalling, making it easy to test new releases and maintain consistent builds across your team.
Why FVM?
- Need for simultaneous use of multiple Flutter SDKs.
- SDK testing requires constant channel switching.
- Channel switches are slow and need repeated reinstalls.
- Difficulty managing the latest successful SDK version used in an app.
- Flutter's major updates demand total app migration.
- Inconsistencies occur in development environments within teams.
For more information, read the Getting Started guide.
Release Process (For Maintainers)
FVM uses GitHub releases to trigger automated deployments across all platforms:
Creating a New Release
-
Ensure main branch is ready
- All changes merged and tested
- Version will be set automatically from release tag
-
Create GitHub Release
- Go to GitHub Releases
- Click "Create a new release"
- Choose tag:
v4.0.0-beta.2(follows semver with 'v' prefix) - Write release notes in GitHub editor
- Click "Publish release"
-
Automated Deployment
release.ymltriggers automatically- Deploys to: pub.dev, GitHub binaries, Homebrew, Chocolatey, Docker
- Monitor progress in Actions tab
Dart SDK requirements: Day-to-day development now targets the repository SDK constraint (
>=3.6.0 <4.0.0). Release automation lives undertool/release_tool/and requires Dart SDK>=3.8.0. CI pins this higher tool chain via theRELEASE_DART_SDKenvironment variable (currently3.9.0) so it matches the versions packaged for Homebrew and other installers. If you run release tasks locally, switch to a Dart SDK3.8.0or newer before executing commands fromtool/release_tool/.
Emergency Releases
For hotfixes or emergency releases:
- Update version manually in
pubspec.yaml - Use individual platform workflows via manual dispatch:
deploy_homebrew.ymlfor Homebrew updatesdeploy_docker.ymlfor Docker deployment- Individual platform deployments as needed
For complete emergency deployment, create a GitHub release as normal.
See Workflow Documentation for detailed information.
Contributors
Checkout Flutter Sidekick. Read more about it here.
Troubleshooting
Please view our FAQ.
License
This project is licensed under the MIT License; see LICENSE file for details.
分類
使用的依賴
依賴清單 35 項
- args
^2.4.2 - date_format
^2.0.7 - git
^2.2.1 - interact
^2.2.0 - io
^1.0.4 - mason_logger
^0.2.9 - meta
^1.10.0 - path
^1.9.0 - pub_semver
^2.1.4 - pub_updater
>=0.4.0 <0.6.0 - scope
^5.1.0 - yaml
^3.1.2 - yaml_edit
^2.2.0 - dart_console
^1.2.0 - tint
^2.0.1 - stack_trace
^1.11.1 - pubspec_parse
^1.5.0 - jsonc
^0.0.3 - dart_mappable
^4.2.2 - cli_completion
^0.5.0 - yaml_writer
^2.1.0 - win32
^5.0.0 - grinder開發依賴
^0.9.5 - test開發依賴
^1.24.6 - lints開發依賴
^2.1.1 - crypto開發依賴
^3.0.3 - http開發依賴
^1.1.0 - dart_code_metrics_presets開發依賴
^2.9.0 - build_runner開發依賴
^2.4.8 - dart_mappable_builder開發依賴
^4.2.3 - build_verify開發依賴
^3.1.0 - build_version開發依賴
^2.1.1 - mocktail開發依賴
^1.0.4 - husky開發依賴
^0.1.7 - lint_staged開發依賴
^0.5.1
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗