使用fvm时是否可以激活酒吧

问题描述 投票:0回答:0

我试过这样激活flutter pub:

 fvm use 3.7.11 

并运行命令:

> pub get
zsh: command not found: pub

我也试过这样激活全局:

> fvm global 3.7.11
Flutter "3.7.11" has been set as global
However your "flutter" path current points to:

.
to use global Flutter SDK through FVM you should change it to:

/Users/John/fvm/default/bin

如何设置 fvm flutter sdk 路径。我试过这样:

export PATH="/Users/John/fvm/default/bin:$PATH"
flutter fvm
© www.soinside.com 2019 - 2024. All rights reserved.