我无法在Mac OS上安装Flutter

时间:2020-11-02 02:12:51

标签: macos flutter terminal macos-catalina

我正在尝试在装有Catalina 10.15.7的Mac上安装Flutter。 遵循以下命令,将Flutter解压缩到我的Home文件夹中,尤其是〜/ development / flutter中:

cd ~/development
unzip ~/Downloads/flutter_macos_1.22.3-stable.zip

它有效地分解为〜/ development / flutter

然后我用下面的方法将颤动添加到路径中:

export PATH="$PATH:`pwd`/flutter/bin"

然后,当尝试在我的终端中使路径永久化时,我修改了此文件$ HOME / .zshrc

export PATH="$PATH:development/flutter/bin"

但是它不起作用,出现此错误:

zsh: command not found: flutter

感谢您的帮助。

0 个答案:

没有答案