https://github.com/lollipopkit/fvm
Flutter SDK Version Manager written in Go.
https://github.com/lollipopkit/fvm
flutter fvm golang sdk
Last synced: 5 months ago
JSON representation
Flutter SDK Version Manager written in Go.
- Host: GitHub
- URL: https://github.com/lollipopkit/fvm
- Owner: lollipopkit
- License: lgpl-3.0
- Archived: true
- Created: 2022-11-08T11:34:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-04T12:41:35.000Z (about 2 years ago)
- Last Synced: 2025-01-05T02:42:20.215Z (6 months ago)
- Topics: flutter, fvm, golang, sdk
- Language: Go
- Homepage:
- Size: 97.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Go FVM
Flutter SDK Version Manager written in Go.
![]()
![]()
English | [įŽäŊ䏿](README_CN.md)
### đĻ Features
- [x] Manage Multiple Flutter SDKs
- [x] Project Versioning
- [x] **Portable** - No need to install Flutter SDK to install fvm
- [x] Auto config PATH and IDE settings
- [x] Alias. e.g. `fvm dart format .` -> `dart format .`### đž Uasge
1. Install `fvm` through:
- `go install github.com/lollipopkit/fvm@latest` (require Golang installed).
- Download the latest release from [HERE](https://github.com/lollipopkit/fvm/releases). Remember to add `fvm` to PATH.
2. It's highly recommended to set env `FVM_HOME`. If you don't set `FVM_HOME`, fvm will use`$HOME/.fvm` as default.
3. Run `fvm install ` to install flutter sdk.
4. Set default global version by `fvm global `.
5. Enter project folder, run `fvm use ` to use flutter sdk only in this directory.
6. (Optional) Config alias by `fvm config alias`. So, you can omit `fvm` and use `dart` or `flutter` in your terminal directly. eg. `dart format .` instead of `fvm dart format .`.### đ Attention
- 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.### âī¸ CLI
```
NAME:
fvm - Flutter Version Manager written in GoUSAGE:
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 commandGLOBAL OPTIONS:
--help, -h show help (default: false)
```### đ License
```
lollipopkit LGPL-3.0
```