I really hate setting up new machines for developers. There's so much to do; installing web browsers, text editors, web servers, changing to a sensible shell, installing a newer version of Ruby, installing Git; the list goes on and on.
I always end up forgetting something, too, and before you know it you've lost a morning.
This is an attempt to automate the process, so we can get from fresh install of OS X to a sensible configuration in a few minutes rather than a few hours.
It's definitely geared around what we do here at Big Fish, but with a bit of effort it could be a bit more configurable.
Enjoy!
- Installs the XCode command-line tools
- Changes the default shell to zsh
- Installs oh-my-zsh
- Installs homebrew and the following packages:
- ack (file searching)
- git (version control)
- ImageMagick (image manipulation from the command line)
- moreutils (useful "missing" Unix utils)
- ncdu (ncurses "where's my diskspace gone" utility)
- node (mainly for npm)
- sqlite (no-overhead SQL databases)
- vim (a text editor for champions)
- Installs homebrew casks, and installs the following applications:
- Adium (IM client)
- Airfoil (for playing music on an Airport Express)
- Alfred (launcher app)
- Charles (excellent debugging HTTP proxy)
- Dropbox (file syncing)
- Firefox (web browser)
- Google Chrome (web browser)
- iTerm2 (much better than Terminal.app)
- MAMP Pro (Apache, mySQL, PHP)
- Opera (web browser)
- 1Password (password storage and syncing)
- Sequel Pro (amazing GUI mySQL client)
- Skype (chat and IM)
- Spotify (music)
- Sublime Text (the standard text editor for cowards)
- The Unarchiver (decompresses any archive you can throw at it)
- VLC (plays any video file you can throw at it)
- Uses a decent gitconfig file as a starting config
- Installs RVM and the latest version of Ruby, plus the following Gems:
- Compass
- Jekyll + Kramdown
- Capistrano
- Installs Pip and HTTPie, a great HTTP debugging tool
- Takes the huge amount of default crapware (Launchpad? Photo Booth?!) out of the dock, and adds Chrome, Sublime, and iTerm
Download the script to the machine and run it; alternatively, you can run directly from the web:
curl https://raw.githubusercontent.com/bigfishdesign/cleanmachine/master/cleanmachine | zsh
It's been tested on OS X 10.9 "Mavericks", but there shouldn't be any reason why it wouldn't work on earlier versions; the only requirement is zsh, which is installed by default.