From 13824286dbc93ed89344b6528d28da3d44cde40e Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 6 Sep 2019 20:25:07 +0530 Subject: [PATCH] Install composer manually --- src/darwin.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/darwin.sh b/src/darwin.sh index 93dc4754..ba26b6f1 100644 --- a/src/darwin.sh +++ b/src/darwin.sh @@ -2,8 +2,11 @@ echo $1 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew unlink php brew tap exolnet/homebrew-deprecated +brew tap homebrew/homebrew-php brew install php@$1 brew link --force --overwrite php@$1 -brew install composer +curl -sS https://getcomposer.org/installer | php +chmod +x composer.phar +mv composer.phar /usr/local/bin/composer php -v composer -V \ No newline at end of file