vim /etc/profile
添加:
PATH=/root/.config/composer/vendor/bin:$PATH
保存,退出,运行:
source /etc/profile
检查:
echo $PATH
vim /etc/profile
添加:
PATH=/root/.config/composer/vendor/bin:$PATH
保存,退出,运行:
source /etc/profile
检查:
echo $PATH
转载于:https://www.cnblogs.com/lalaza/p/11257231.html