Debian 全局安装composer
Auth:admin Date:2024-09-17 16:56:24 Cat:技术笔记
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php --install-dir=/usr/bin --filename=composer
rm -rf composer-setup.php
chmod +x /usr/bin/composer
composer --version