Home>Article>Development Tools> How to install composer on centos7
The following tutorial column will introduce how to install composer on centos7. I hope it will be helpful to friends who need it!
Set environment variables after downloading
Modify permissions, otherwise an execution error will occur
Then enter the command, and the following picture will be displayed, indicating that the installation is successful
composer config -g repo.packagist composer mirrors.aliyun.com/composer/
Cancel configuration and restore to default address
composer config -g –unset repos.packagist
View global settings: composer config -gl
The above is the detailed content of How to install composer on centos7. For more information, please follow other related articles on the PHP Chinese website!