Skip to content

Instantly share code, notes, and snippets.

@holysugar
Created July 6, 2015 03:37
Show Gist options
  • Save holysugar/cc424499e6cb37735ddd to your computer and use it in GitHub Desktop.
Save holysugar/cc424499e6cb37735ddd to your computer and use it in GitHub Desktop.
homebrew-init.sh
#!/bin/sh
sudo xcodebuild -license
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew install python
brew install ansible
echo 'export HOMEBREW_CASK_OPTS="--appdir=/Applications"' >> ~/.bash_profile
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment