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

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

step1:

Term执行

open .zshrc

step2:

找到 “# User configuration”
加入

source ~/.bash_profile

zsh: command not found: 解决方法_Web开发

6C88596F-89D3-4497-B14B-679CDB29E1A8.png

step3:

Term执行

source .zshrc