Skip to content

Instantly share code, notes, and snippets.

@mariomartinezsz
Last active July 28, 2018 05:24
Show Gist options
  • Save mariomartinezsz/2e7baf259d04d7f5e3a6edc408697dee to your computer and use it in GitHub Desktop.
Save mariomartinezsz/2e7baf259d04d7f5e3a6edc408697dee to your computer and use it in GitHub Desktop.
Install Composer on Ubuntu
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
php -r "unlink('composer-setup.php');"
composer --version

More info

Composer official download site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment