Skip to content

Instantly share code, notes, and snippets.

@gogojimmy
Created August 14, 2013 14:31
Show Gist options
  • Save gogojimmy/6231604 to your computer and use it in GitHub Desktop.
Save gogojimmy/6231604 to your computer and use it in GitHub Desktop.
mac bootstrap script
#!/bin/sh
USERNAME=gogojimmy
mkdir ~/tmp
cd ~/tmp
# Install GCC + Git
curl https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg > GCC-10.7-v2.pkg
sudo installer -pkg GCC-10.7-v2.pkg -target /
# Install chef
sudo gem install chef
# Prepare Directory for Homebrew
sudo mkdir /usr/local
sudo chown -R $USERNAME /usr/local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment