//www.greatytc.com/p/afce43db9251
第一步:
vim .bash_profile
第二步:
填入环境,保存退出,esc键, 加 :键 wq!
第三步:
source .bash_profile
第四步 执行下列命令
touch .zshrc
open -e .zshrc
输入:
source ~/.bash_profile ,然后按键盘 command + s 保存,关闭就可以了
第五步:
使环境变量生效
输入:source .zshrc
//www.greatytc.com/p/afce43db9251
第一步:
vim .bash_profile
第二步:
填入环境,保存退出,esc键, 加 :键 wq!
第三步:
source .bash_profile
第四步 执行下列命令
touch .zshrc
open -e .zshrc
输入:
source ~/.bash_profile ,然后按键盘 command + s 保存,关闭就可以了
第五步:
使环境变量生效
输入:source .zshrc