Mac添加path环境变量
来源:互联网
时间:2025-11-07 23:33:51
浏览量:1
Mac下查看、添加path环境变量
Mac下环境变量的加载顺序(也就是可以配置环境变量的地方):
/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc
/etc/profile和/etc/paths是系统级别的,系统启动就会加载。
后面4个是当前用户级的环境变量。
上一篇:游戏安装权限怎么开启
下一篇:天猫精灵方糖控制小米电视吗