MAC环境变量设置(.bash_profile和.zshrc)
.bash_profile和.zshrc都在用户目录下(~) .bash_profile需要使用source执行下,方可生效(可能需要手动创建.bash_profile) .zshrc修改环境变量,保存修改重启终端即可(需要安装oh-my-zsh自动创建.zshrc,直接手动创建.zshrc没有用)
转 出处 链接: link. 以上仅个人记录使用,如有侵权请联系删除。
.bash_profile和.zshrc都在用户目录下(~) .bash_profile需要使用source执行下,方可生效(可能需要手动创建.bash_profile) .zshrc修改环境变量,保存修改重启终端即可(需要安装oh-my-zsh自动创建.zshrc,直接手动创建.zshrc没有用)
转 出处 链接: link. 以上仅个人记录使用,如有侵权请联系删除。