CentOS7 修改PATH环境变量的方法

vim /etc/profile

添加:

PATH=/root/.config/composer/vendor/bin:$PATH

保存,退出,运行:

source /etc/profile

检查:

echo $PATH

猜你喜欢

转载自www.cnblogs.com/lalaza/p/11257231.html