Easy installation of Composer on Debian LinuxAuthor: Rafal Marguzewicz
Tags: composer • problems
The 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
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