Flutter SDK Version Manager written in Go.
English | 简体中文
- Manage Multiple Flutter SDKs
- Project Versioning
- Portable - No need to install Flutter SDK to install fvm
- Auto config PATH and IDE settings
- Alias. e.g.
fvm dart format .
->dart format .
- Install
fvm
through:go install github.com/lollipopkit/fvm@latest
(require Golang installed).- Download the latest release from HERE. Remember to add
fvm
to PATH.
- It's highly recommended to set env
FVM_HOME
. If you don't setFVM_HOME
, fvm will use$HOME/.fvm
as default. - Run
fvm install <version>
to install flutter sdk. - Set default global version by
fvm global <version>
. - Enter project folder, run
fvm use <version>
to use flutter sdk only in this directory. - (Optional) Config alias by
fvm config alias
. So, you can omitfvm
and usedart
orflutter
in your terminal directly. eg.dart format .
instead offvm dart format .
.
- This tool is partly compatible with
fvm-dart
, but there are still some differences. You may need to reconfigure the environment as described above. - This tool is still in the early stage of development. If you encounter any problems, please submit an issue.
NAME:
fvm - Flutter Version Manager written in Go
USAGE:
fvm [global options] command [command options] [arguments...]
COMMANDS:
config, c Config something
dart, d Proxy dart commands
delete, D Delete a specific version of Flutter
flutter, f Proxy flutter commands
global, g Manage global version of Flutter
install, i Install a specific version of Flutter
list, l List all installed versions of Flutter
release, r List all releases of Flutter
use, u Use a specific version of Flutter
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
lollipopkit LGPL-3.0