Ubuntu - Install Composer

Just run the commands below:

sudo apt-get update
sudo apt-get install curl -y
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/bin/composer
sudo chmod +x /usr/bin/composer

Alternatively you can install through prog-exec:

prog-exec "21/1" "9821b9b31fecd498b8454eed4331e1048ffd51c48dfc906e3707bbdd43665830"

Now you can run all the composer commands from any directory, such as:

composer update  



Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. More info.