vim /etc/profile
添加:
PATH=/root/.config/composer/vendor/bin:$PATH
保存,退出,运行:
source /etc/profile
检查:
echo $PATH
原文地址:https://www.cnblogs.com/lalaza/p/11257231.html
时间: 2024-10-23 23:50:23
vim /etc/profile
添加:
PATH=/root/.config/composer/vendor/bin:$PATH
保存,退出,运行:
source /etc/profile
检查:
echo $PATH
原文地址:https://www.cnblogs.com/lalaza/p/11257231.html