mac下添加全局变量
1打开.bash_profile文件
cd ~/
touch .bash_profile
open .bash_profile
2继续添加全局变量所在路径
如nginx:/usr/local/etc/nginx/sbin:
3保存退出,全局启动
1打开.bash_profile文件
cd ~/
touch .bash_profile
open .bash_profile
2继续添加全局变量所在路径
如nginx:/usr/local/etc/nginx/sbin:
3保存退出,全局启动