Install a new Mac Install this stuff by hand Install X Code Tools xcode-select --install Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Check and exec .macos.sh Check and exec brew.sh