Skip to content

dashixiong91/fvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fvm

MIT Licence

README English | 中文

Flutter SDK versions Manager

Installation

  1. First, add homebrew's tap:
brew tap dashixiong91/fvm
  1. Once the tap has added, you can install fvm
brew install fvm
  1. Copy the following content in to your .bashrc|.zshrc ... file
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export FVM_DIR="$HOME/.fvm"
source "/usr/local/opt/fvm/init.sh"

Usage

Print fvm command help info

fvm
# or `fvm --help`

Install Flutter,take 1.9.1 as an example

fvm install 1.9.1

Use Flutter installed above

fvm use 1.9.1

Set aliases

fvm alias latest 1.9.1

List all installed versions

fvm list

List published versions

fvm list-remote all

Preview

terminal