Descubra o passo a passo detalhado para instalar o Composer Debian no seu sistema. Aprenda a gerir dependências PHP com eficiência. Instale o Composer Debian agora!
Instalar dependencias
sudo apt update
sudo apt install curl php-cli php-mbstring git unzip
cd ~
Fazer download do Composer
curl -sS https://getcomposer.org/installer -o composer-setup.php
echo $HASH
Instalar Composer
php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
composer