mac下修改环境变量 1. cd ~ 2. 打开.bash_profile open -e .bash_profile 3. 修改完成后更新.bash_profile source .bash_profile