パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v4.3.2

fvm

プロジェクトごとにFlutter SDKバージョンを管理するためのシンプルなCLIツール。チャンネル、リリース、およびローカルキャッシュをサポートし、バージョン間の切り替えを高速化します。

Windows
30日間ダウンロード
19.7万
いいね数
726
Pub ポイント
130

パッケージをインストール

flutter pub add fvm

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

FVM(Flutter バージョンマネージャー)は、複数の Flutter SDK バージョンをプロジェクト間で簡単に管理するためのコマンドラインツールです。安定版、Beta版、Dev版、Master版のチャンネルだけでなく、特定のリリースバージョン間でも簡単に切り替えることができます。FVM はローカルに Flutter SDK をキャッシュして高速な切り替えを実現し、各プロジェクトが指定されたバージョンを使用することを保証します。異なる SDK 要件を持つ複数の Flutter プロジェクトで作業するチームに最適です。

用途

  • 1つの開発環境で複数のFlutterバージョンを管理する
  • 安定版とベータ版のFlutterチャネルの切り替え
  • チームメンバー間でのSDKバージョンの整合性を確保する
  • さまざまなFlutterリリースとの互換性を迅速にテストする
  • 特定のFlutterバージョンを使用してCI/CDパイプラインを設定する

主な機能

  • プロジェクトごとのFlutter SDKバージョン管理
  • すべてのFlutterチャネルおよびリリースをサポート
  • より迅速な切り替えのためのローカルSDKキャッシュ
  • シンプルなCLIインターフェース
  • .fvm/config ファイルを介した自動バージョン解決

適している対象

  • 複数のFlutterプロジェクトに取り組んでいる開発者
  • 一貫したFlutter SDKバージョンを必要とするチーム
  • CI/CD環境
  • バージョン間のテストとデバッグ

注意事項

  • 各プロジェクトごとに .fvm/config ファイルの設定が必要です
  • リストされているように、Windowsプラットフォームに限定されています
  • IDEで追加の構成が必要になる場合があります
  • SDK パスをバイパスする Flutter ツールと互換性がありません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

fvm

GitHub stars Pub Version Pub Likes Pub Points All Contributors MIT License Codecov Awesome Flutter

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
  1. Ensure main branch is ready

    • All changes merged and tested
    • Version will be set automatically from release tag
  2. 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"
  3. Automated Deployment

    • release.yml triggers 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 under tool/release_tool/ and requires Dart SDK >=3.8.0. CI pins this higher tool chain via the RELEASE_DART_SDK environment variable (currently 3.9.0) so it matches the versions packaged for Homebrew and other installers. If you run release tasks locally, switch to a Dart SDK 3.8.0 or newer before executing commands from tool/release_tool/.

Emergency Releases

For hotfixes or emergency releases:

  1. Update version manually in pubspec.yaml
  2. Use individual platform workflows via manual dispatch:
    • deploy_homebrew.yml for Homebrew updates
    • deploy_docker.yml for 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.

カテゴリー

依存関係

依存関係一覧 22 件

ソースリポジトリ

このパッケージを使用しているプロジェクト