←back to Articles

Single command Django installer for OS X

This content is 16 years old and may not reflect reality today nor the author’s current opinion. Please keep its age in mind as you read it.

So you want to see what all the fuss around Django is about? To get the latest bleeding edge snapshot (as discussed here, here, here, here, here, here, here and here) you just need to run these commands (as root), per the official install instructions:

/usr/bin/svn co http://code.djangoproject.com/svn/django/trunk/ /usr/local/django-trunk
ln -s /usr/local/django-trunk/django /Library/Python/2.5/site-packages/django
ln -s /usr/local/django-trunk/django/bin/django-admin.py /usr/local/bin

For the lazy, get root (eg sudo -s) and run:

curl https://s3.amazonaws.com/media.samj.net/devel/django.sh | sh

If it’s already there then this script will update to the latest revision.