Setting environment variables on OS X

后端 未结 30 3179
你的背包
你的背包 2020-11-21 05:15

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

I\'ve looked on Google a little bit and found three different files to edit:

30条回答
  •  日久生厌
    2020-11-21 05:46

    The $PATH variable is also subject to path_helper, which in turn makes use of the /etc/paths file and files in /etc/paths.d.

    A more thorough description can be found in PATH and other environment issues in Leopard (2008-11)

提交回复
热议问题