📅  最后修改于: 2022-03-11 14:51:34.299000             🧑  作者: Mango
# download composer.phar to /usr/bin and symlink composer to composer.phar
pushd /usr/bin >/dev/null &&
sudo wget -O composer.phar https://getcomposer.org/composer-stable.phar &&
sudo chmod 755 composer.phar &&
sudo ln -fs composer.phar composer &&
popd >/dev/null