Install homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Install xcode command line tools xcode-select --install PHP 7.2 brew install php@7.2 NGINX brew install nginx MySQL (mariadb) brew install mariadb