mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-09-17 10:21:29 +00:00
10 lines
249 B
Bash
10 lines
249 B
Bash
echo $1
|
|
brew unlink php
|
|
brew tap exolnet/homebrew-deprecated
|
|
brew install php@$1
|
|
brew link --force --overwrite php@$1
|
|
curl -sS https://getcomposer.org/installer | php
|
|
chmod +x composer.phar
|
|
mv composer.phar /usr/local/bin/composer
|
|
php -v
|
|
composer -V |