Skip to content

Instantly share code, notes, and snippets.

@chriscummings
Created August 31, 2011 15:57
Show Gist options
  • Save chriscummings/1183891 to your computer and use it in GitHub Desktop.
Save chriscummings/1183891 to your computer and use it in GitHub Desktop.
Setup instructions for a new mac

Based on jpantuso's gist: https://gist.github.com/1110217

Install xcode 4

App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.

Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.

ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" Note that Xcode is a pre-req for Homebrew

Install ruby

rvm install 1.9.2 rvm install 1.8.7 rvm notes See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden. Create a .gemrc file and add the line gem: --no-ri --no-rdoc

Git

brew install git

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

mysql

Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

Based on jpantuso's gist: https://gist.github.com/1110217

Install xcode 4

App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.

Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.

ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" Note that Xcode is a pre-req for Homebrew

Install ruby

rvm install 1.9.2 rvm install 1.8.7 rvm notes See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden. Create a .gemrc file and add the line gem: --no-ri --no-rdoc

Git

brew install git

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile

mysql

Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment