📜  composer 升级到 2 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:14.581000             🧑  作者: Mango

代码示例1
run which composer (output /usr/bin/composer)
run php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
run sudo php composer-setup.php --install-dir=/usr/bin --filename=composer