Easy installation of Composer on Debian Linux

Author: Rafal Marguzewicz
Categories: Programming

composer installThe first step of the installation are the same as on the site web of composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"

But third step is different.

sudo php composer-setup.php --install-dir=/bin --filename=composer

Remove temp files

php -r "unlink('composer-setup.php');"

Now you can use composer command

composer update

You can install composer two time, second time in third step use fallowing code

sudo php composer-setup.php --install-dir=/bin --filename=composer.phar

Then the command to run composer will be the same like in many manual:

php composer.phar update

composer install debian

Your email address will not be published. Required fields are marked *

Name *
Email *