Flutter Version Management: A simple cli to manage Flutter SDK versions.
FVM helps with the need for a consistent app builds by allowing to reference Flutter SDK version used on a per-project basis. It also allows you to have multiple Flutter versions installed to quickly validate and test upcoming Flutter releases with your apps, without waiting for Flutter installation every time.
Features:
- Configure and use Flutter SDK version per project
- Ability to install and cache multiple Flutter SDK Versions
- Fast switch between Flutter channels & versions
- Dynamic SDK paths for IDE debugging support.
- Version FVM config with a project for consistency across teams and CI environments.
- Set global Flutter version across projects
Checkout Flutter Sidekick. Read more about it here.
pub run test
Before pushing package to pub.dev. Run command to create version constant.
pub run build_runner build
To update test coverage run the following command.
pub run test_cov
- On Windows make sure you are running as an administrator
- If you get errors with messages
invalid kernel binary
orinvalid sdk hash
it means you activatedfvm
usingflutter pub global activate fvm
. Only activatefvm
usingpub global activate fvm
. If you getCommand 'pub' not found
, then make sure to appendexport PATH="$PATH:/usr/lib/dart/bin"
to your~/.bashrc
(gets reiniated each time you open a bash shell) or~/.profile
(only read at login) file.
This project is licensed under the MIT License - see the LICENSE file for details
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!