Created
March 1, 2016 13:52
-
-
Save devdiva/deb9608147250fb63bb8 to your computer and use it in GitHub Desktop.
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
# Official instructions here: https://getcomposer.org/download/ | |
# See official instructions for the latest version of the following commands | |
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php | |
php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === 'fd26ce67e3b237fffd5e5544b45b0d92c41a4afe3e3f778e942e43ce6be197b9cdc7c251dcde6e2a52297ea269370680') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); }" | |
# For the setup command, use the following arguments in order to add the command to local bin | |
php composer-setup.php --install-dir=/usr/local/bin --filename=composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment