Setting environment variables in Yosemite

前端 未结 4 1818
时光说笑
时光说笑 2021-01-13 04:42

What is the proper way to modify environment variables like PATH in Yosemite?

This is this question Setting environment variables in OS X? but specifically for yose

4条回答
  •  北海茫月
    2021-01-13 05:31

    Have you tried editing ~/.bash_profile?

    Adding a line like this to bash_profile ought to do it:

    export PATH=/usr/local/bin:$PATH

提交回复
热议问题