Created
August 8, 2019 11:30
-
-
Save unti1x/ce91251f937c3649c4101815a636208b to your computer and use it in GitHub Desktop.
Single line composer installer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ | |
[ \ | |
"$(wget -q -O - https://composer.github.io/installer.sig)" \ | |
== "$(php -r "echo hash_file('sha384', 'composer-setup.php');")" \ | |
] && php composer-setup.php --quiet && php composer.phar --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment