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

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

composer update  

Author

Programster

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

comments powered by Disqus