参考:https://www.jianshu.com/p/acb1f062a925 Mac系统的环境变量,加载顺序为: /etc/profile/etc/paths~/.bash_profile~/.bash_login~/.profile~/.bashrc