PHP学习:Centos8安装Composer
2021-01-18 本文已影响0人
萌哒哒的Blue
1.下载安装脚本(composer.php)到当前目录下

2.执行安装

3.删除安装脚本
php -r "unlink('composer-setup.php');"
4.将前面下载的 composer.phar 文件移动到 /usr/local/bin/ 目录下面
mv composer.phar /usr/local/bin/composer
5.查看是否安装成功
