ssh终端执行：下载Composer的PHAR文件：wget https://getcomposer.org/composer.phar移动到全局可执行路径：mv composer.phar /usr/local/bin/composer更改权限使其可执行：chmod +x /usr/local/bin/composer检查Composer是否安装成功：composer --version