-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter: SDK Version Management - FVM #216
Comments
flutter SDK 版本管理工具: fvm
brew tap leoafarias/fvm
brew install fvm
# 设置环境变量:
# fvm:
export FVM_HOME="$HOME/.fvm"
# use fvm: fluter + dart + pub
export PATH="$PATH":"$HOME/.fvm/default/bin":"$HOME/.fvm/default/bin/cache/dart-sdk/bin"
# 安装 fvm:(brew 安装 m1下不靠谱)
pub global activate fvm
# 查看 flutter 版本列表:
-> % fvm releases | grep 1.17
May 6 20 │ 1.17.0
May 13 20 │ 1.17.1
May 28 20 │ 1.17.2
Jun 4 20 │ 1.17.3
Jun 18 20 │ 1.17.4
Jul 1 20 │ 1.17.5
# 安装指定版本:
fvm install 1.17.5
fvm install 1.22.0
# 使用指定版本:
fvm use <version>
# 全局指定版本:
fvm use 1.17.5 --global
# 删除:
fvm remove <version>
# 安装列表:
fvm list
# 代理启动:
fvm flutter run
其他类似工具:
|
flutter 版本选择:
|
1 |
1 similar comment
1 |
xxxxxx:
|
This was referenced Jan 13, 2022
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
related:
The text was updated successfully, but these errors were encountered: