我想升级到Flutter 3.7,这样我就可以开始使用Serverpod(需要3.7版本)。然而,当我执行flutter upgrade
时,它说:
Flutter is already up to date on channel stable
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (2 weeks ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4
字符串
我准备好了,为了升级到3.7,你需要安装Flutter版本管理器。所以我做了,这是结果:
dart pub global activate fvm
Package fvm is currently active at version 2.4.1.
The package fvm is already activated at newest available version.
To recompile executables, first run `dart pub global deactivate fvm`.
Installed executable fvm.
Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin"
Activated fvm 2.4.1.
型
但是当我执行fvm install 3.7.16
时,它返回:
zsh: command not found: fvm
型
为什么它说未找到命令,我如何修复它?
1条答案
按热度按时间z9zf31ra1#
为什么它说未找到命令,我如何修复它?
引用激活
fvm
后得到的输出:字符串