How to install Composer into linux server ( Debian, Centos, Ubuntu ), also used in magento 2, laravel?
Instruction: How to install composer into linux server ( Debian, Centos, Ubuntu ), often used for magento 2, cs-cart, laravel and many more...
# cd /tmp
# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading 1.2.4...
Composer successfully installed to: /tmp/composer.phar
Use it: php composer.phar
Move file to the better place
# mv composer.phar /usr/local/bin/composer
Checking
# whereis composer
composer: /usr/local/bin/composer
DONE
===
or
you can use example with one line command:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.3.0