Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install composer

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #install #composer
ADD COMMENT
Topic
Name
5+5 =