mac一些基本操作

1、添加环境变量

打开终端,输入 open .bash_profile

然后,你会看到如下:

然后,编辑文本,export PATH="你要添加的路径"

最后在执行:source ~/.bash_profile 

 

posted @ 2018-10-01 15:11  fight-ing  阅读(287)  评论(0编辑  收藏  举报
Fork me on GitHub