赞
踩
把 bash shell 中.bash_profile 全部环境变量加入zsh shell里就好了
将下面环境变量加入到最后面:
source ~/.bash_profile
将下列语句插入到文件最后保存:
export PATH=~/.npm-global/bin:${PATH}
最后解决了该问题: