“Instale o compositor v2 ubuntu” Respostas de código

Instale o compositor 2 ubuntu

Teniendo composer instaldo, correr 
composer self-update --2
AceptoRetos

Instale o compositor

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '795f976fe0ebd8b75f26a6dd68f78fd3453ce79f32ecb33e7fd087d39bfeb978342fb73ac986cd4f54edd0dc902601dc') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Fine Fish

download getcomposer.org

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'c31c1e292ad7be5f49291169c0ac8f683499edddcfd4e42232982d0fd193004208a58ff6f353fde0012d35fdd72bc394') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Thoughtless Tuatara

Instale o compositor v2 ubuntu

Purge existing composer v1

sudo apt purge composer

Download composer-setup v2

curl -sS https://getcomposer.org/installer -o composer-setup.php

Use php to install Composer
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

Check Composer Version
composer -V
calyCoder

Respostas semelhantes a “Instale o compositor v2 ubuntu”

Perguntas semelhantes a “Instale o compositor v2 ubuntu”

Mais respostas relacionadas para “Instale o compositor v2 ubuntu” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código