FVM
大师兄版本,很长时间未更新,但是可用 gitee github 博客
首先,添加homebrew的tap源:
brew tap dashixiong91/fvm
添加完tap之后,你可以安装fvm
brew install fvm
拷贝以下内容到你的 .bashrc|.zshrc ... 文件中
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export FVM_DIR="$HOME/.fvm"
source "/usr/local/opt/fvm/init.sh"
leoafarias 支持macos windows linux github
windows
To install fvm (Install), run the following command from the command line or from PowerShell:
choco install fvm
安装FVM
brew tap leoafarias/fvm
brew install fvm
安装完成后需要配置环境变量
export PATH="$HOME/fvm/default/bin:$PATH"