Environment variables in Mac OS X

后端 未结 9 1505
萌比男神i
萌比男神i 2020-11-22 14:57

Update: The link below does not have a complete answer. Having to set the path or variable in two places (one for GUI and one for shell) is lame.

No

9条回答
  •  囚心锁ツ
    2020-11-22 15:06

    If you want to change environment variables permanently on macOS, set them in /etc/paths. Note, this file is read-only by default, so you'll have to chmod for write permissions.

提交回复
热议问题