Created
January 18, 2020 22:31
-
-
Save RickardAhlstedt/588037052b0ef602ab2d8c0a45d18784 to your computer and use it in GitHub Desktop.
Install composer on mac os x
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
#!/bin/sh | |
mkdir tmp | |
cd tmp | |
curl -sS https://getcomposer.org/installer | php | |
copy composer.phar /usr/local/bin | |
echo alias composer="php /usr/local/bin/composer.phar" > ~/.bash_profile | |
source ~/.bash_profile | |
cd .. | |
echo "Done installing, please remove the tmp-folder created by this installer, thank you!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment