On a fresh OSX installation, open the Terminal and run:
bash <(curl -sL https://gist.githubusercontent.com/brisberg/809a413c35a30e2aec386955076f48d6/raw/setup.sh)
echo "Installing xcode-stuff" | |
xcode-select --install | |
# Check for Homebrew (brew.sh), | |
# Install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
fi | |
# Update homebrew recipes | |
echo "Updating homebrew..." | |
brew update | |
echo "Installing Git..." | |
brew install git | |
echo "Cleaning up brew" | |
brew cleanup | |
echo "Installing dotfiles from Github" | |
mkdir ~/DevProjects | |
git clone https://github.com/brisberg/dotfiles.git ~/DevProjects/dotfiles | |
cd ~/DevProjects/dotfiles | |
git checkout angler | |
sh ./install | |
echo "Setup Complete" |