Guide to setting up a new macbook pro

Over time my computer seems to accumulate a whole host of files, programs, and garbage. This manifests in a few ways - the most painful one being that starting new projects always puts me through a maze of dependency management and reinstallations. More recently I've begun to run out of space on the laptop, mostly data that I no longer need (music files) or that is already backed up (home movies / pictures).

Recently I went ahead and, after backing up the critical files I had, reimaged the mac os. I'd highly recommend taking this step if you find yourself mining through random problems when trying to install standard libraries, as I was. For reference, I followed this guide from Apple.

Inspired by Jeremy's post here, I thought I would provide a follow up of what was needed to get my system into shape.

1. Quick settings management

Now that we're starting fresh, a few quick changes.

2. Install critical programs

My favorites from around the web listed below.

3. Programmer's settings

Install Command Line Tools for XCode.

Install Homebrew.

$ ruby -e "$(curl -fsSL"

Add /usr/local/bin to path.

$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

Install git.

$ brew install git

Symlink sublime text so I can open it from the command line.

$ ln -s /Applications/Sublime\ /usr/local/bin/sub

Install python, pip, virtualenv.

$ brew install python
$ easy_install pip
$ pip install virtualenv

4. Done!