Installation Steps:
- Open Terminal using Spotlight search by pressing
<command+space>
.
Type terminal and hitEnter
key. - Now, run
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null
- Install brew-php-switcher using brew
brew install brew-php-switcher
brew-php-switcher is ready to use now!