mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Install composer manually
This commit is contained in:
parent
e5083c779b
commit
13824286db
@ -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
|
Loading…
Reference in New Issue
Block a user