Mac下配置环境变量的两种方式

1.配置全局变量(永久有效) root用户登陆,修改 /etc/profile文件,末尾添加环境变量以下:html # System-wide .profile for sh(1) if [ -x /usr/libexec/path_helper ]; then eval `/usr/libexec/path_helper -s` fi if [ "${BASH-no}" != "no" ]
相关文章
相关标签/搜索