Skip to content

Instantly share code, notes, and snippets.

@jirick1
Created March 8, 2013 21:07
Show Gist options
  • Save jirick1/5119848 to your computer and use it in GitHub Desktop.
Save jirick1/5119848 to your computer and use it in GitHub Desktop.
#!/bin/sh
# All the things I can install from the command line when I set up a new Mac
# This can be executed by copying and pasting the following at a shell prompt
# curl https://raw.github.com/gist/2993226/initial_setup.sh | sh
# Install Homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
# Homebrew packages
brew install python25 python26 python python32 python3 pypy
brew install git hub imagemagick legit memcached mongodb mysql node sqlite vim wget
# Initialize Python
# This is done here because I'm using Python from Homebrew
easy_install pip readline
pip install fabric ipython sphinx virtualenv virtualenvwrapper
ipython profile create
# Homebrew Services
curl -L -o /usr/local/bin/brew-services.rb https://raw.github.com/gist/1446575/brew-services.rb
chmod +x /usr/local/bin/brew-services.rb
# Django autocomplete, here because I'm not positive if bash_completion.d exists before installing Homebrew
curl -L -o /usr/local/etc/bash_completion.d/django_bash_completion https://raw.github.com/django/django/master/extras/django_bash_completion
chmod +x /usr/local/etc/bash_completion.d/django_bash_completion
# Install Heroku Toolbelt
curl https://toolbelt.heroku.com/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment