CentOS7 修改PATH环境变量的方法

vim /etc/profile

添加:vim

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

保存,退出,运行:composer

source /etc/profile

检查:code

echo $PATH
相关文章
相关标签/搜索