简体   繁体   English

zsh:找不到命令:flutter,添加parmanent路径后

[英]zsh: command not found: flutter,after adding parmanent path

在此处输入图像描述

Can not find flutter command after adding Path permanently on mac..在 mac 上永久添加路径后找不到 flutter 命令。

make.zshrc file make sure its plain text format paste the Path export PATH="$PATH:/YOUR_FLUTTER_DIR/flutter/bin" and save run flutter --version make.zshrc 文件确保其纯文本格式粘贴 Path export PATH="$PATH:/YOUR_FLUTTER_DIR/flutter/bin"并保存运行 flutter --version

if says 'Bad CPU type in executable' run softwareupdate --install-rosetta如果说“可执行文件中的 CPU 类型错误”运行 softwareupdate --install-rosetta

it should solve the problem once and for all它应该一劳永逸地解决问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM