Musings by @thedevel

Mac Setup Guide

276 words · 20 Nov 2010


Simple guide for myself to remember, but others may find it useful.


Syncs all preferences

Install Xcode

Install Xcode from the OS X installation disc (or this little gem) or if you have a Apple Developer account, you can download the installer from the website.


The new standard for OS X package managers is [Homebrew] []. Don't argue, just use it.

$ sudo mkdir /usr/local
$ sudo chown `whoami` /usr/local
$ ruby -e $(curl -fsSL

The last line will install homebrew to /usr/local by default. The final step is preferential:

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

System Libraries

Python is already installed by default on OS X (specifically Python 2.6.1 on 10.6). The version homebrew installs is Python 2.7 which I prefer.

$ brew install wget python git postgresql memcached nginx

If you chose to install Python, it is a good idea to add the following to your PATH as well:

$ echo 'export PATH=/usr/local/Cellar/python/2.7/bin:$PATH' >> ~/.bash_login

System Python Libraries

I prefer using pip for my Python library management because it is easy and it works well with virtualenv.

$ wget
$ tar zxf setuptools-0.6c11.tar.gz && cd setuptools-0.6c11
$ python install
$ wget
$ tar zxf pip-0.8.1.tar.gz && cd pip-0.8.1
$ python install

These are generally multi-use libraries that won't generally conflict with the virtual environments I create for development (via virtualenv).

$ pip install virtualenv psycopg2 python-memcached markdown