Como instalar o Composer no CentOS 8

30 de agosto de 2021 0 Por sudoroot

Etapa 1: instalar o curl
yum install -y curl

Passo 2:
curl -sS https://getcomposer.org/installer | php

Resultado:
[[email protected] ~]# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...

Composer (version 1.10.13) successfully installed to: /root/composer.phar
Use it: php composer.pha

Etapa 3:
mv composer.phar /usr/local/bin/composer