Skip to content

Instantly share code, notes, and snippets.

@donfanning
Forked from codatory/mac_bootstrap.sh
Last active July 14, 2019 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donfanning/008da9e0841cf3a30d68d83dcadda00c to your computer and use it in GitHub Desktop.
Save donfanning/008da9e0841cf3a30d68d83dcadda00c to your computer and use it in GitHub Desktop.
#!/bin/bash
# Mac Bootstrap Script
# (C) 2011 - @codatory
#
# "It might work for you, too."
pretty_echo(){
echo '--------------------------------'
echo " $*"
echo '--------------------------------'
echo ''
}
prompt(){
read -p 'Press any key to continue...'
}
pretty_echo Installing XCode
open https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.1_for_lion/xcode_4.1_for_lion.dmg
prompt
pretty_echo Installing Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
pretty_echo Installing Git
brew install git git-utils git-extras
pretty_echo Installing ack
brew install ack
pretty_echo Installing aspell-en
brew install aspell
pretty_echo Installing Node.js
brew install node
pretty_echo Installing databases
brew install mysql mysql-connector-c postgresql sqlite
pretty_echo Installing networking tools
brew install arping mtr unison youtube-dl pianobar iperf
pretty_echo Installing other stuff I might need
brew install csshx curl freetds sshfs gist growlnotify imagemagick graphviz markdown wget
pretty_echo RVM
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment