Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

composer v1 to v2

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
 
PREVIOUS NEXT
Tagged: #composer
ADD COMMENT
Topic
Name
5+9 =