I like to use macOS Patcher
Download all the files to your home directory.
cd ~; curl -#L https://github.com/sixteenbit/mac-setup/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh}
Everything is optional and should be tweaked to your personal needs.
cd ~/
# Checks for Apple updates and Xcode Command Line Tools
./osxprep.sh
# Install specified apps and software with Homebrew.sh
./brew.sh
# Install web development specific tools
./webdev.sh
brew.sh handles application installs for the most part, but there are a few apps I like getting from the source (or isn't available through brew).