修改~/.zshrc
添加:
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
如果在~/.bash_profile里配置了其他如flutter环境,需要在~/.zshrc 添加:
source ~/.bash_profile 执行
修改~/.zshrc
添加:
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
如果在~/.bash_profile里配置了其他如flutter环境,需要在~/.zshrc 添加:
source ~/.bash_profile 执行
本文标题:Mac zsh: command not found: xxx
本文链接:https://www.haomeiwen.com/subject/olvgwltx.html
网友评论