美文网首页
zsh: command not found: 解决方法

zsh: command not found: 解决方法

作者: 疯狂的向日葵 | 来源:发表于2017-08-18 14:29 被阅读3686次

出现zsh: command not found: xxx解决方法:

把 bash shell 中.bash_profile 全部环境变量加入zsh shell里就好

step1:

Term执行

open .zshrc

step2:

找到 “# User configuration”
加入

source ~/.bash_profile
6C88596F-89D3-4497-B14B-679CDB29E1A8.png

step3:

Term执行

source .zshrc

相关文章

网友评论

      本文标题:zsh: command not found: 解决方法

      本文链接:https://www.haomeiwen.com/subject/smlarxtx.html