MAC 打开.bash_profile

1、开启终端(terminal)【左下角启动台(🚀图标)> 其他】
在这里插入图片描述
2、进入当前用户目录

$ cd ~

3、打开profile文件

$ open -e .bash_profile

在这里插入图片描述
就会弹出.bash_profile文件,(不要想使用ls 找到.bash_profile再去做编辑,你是找不到到,如上图中)

4、更新刚配置的环境变量

$ source .bash_profile
posted @ 2019-08-24 17:33  奔跑的痕迹  阅读(2117)  评论(0编辑  收藏  举报