(Ubuntu) Install PHP Composer

Step 1:

(The recommended path, not needed.)

cd /usr/local/bin

Step 2:


 sudo curl -s https://getcomposer.org/installer | sudo php

Step 3:

(Add execute permissions.)

sudo chmod a+x composer.phar

Step 4:

(This step is not necessary. If needed, you can use this script to update Composer.)

sudo composer.phar self-update


When you find your talent can't afford to be ambitious, be quiet and study !

You may also like...