macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL Homebrew Installation First let's install Homebrew. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"