Run ./mac.sh
When installing Homebrew, a popup window will appear that asks: “Homebrew requires the command line developer tools. Would you like to install the tools now?” or something like that. Choose to confirm this by clicking “Install”, then agree to the Terms of Service when/if requested.