📅  最后修改于: 2022-03-11 14:51:14.581000             🧑  作者: Mango
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