Skip to content

Instantly share code, notes, and snippets.

@asanger
Created August 9, 2013 14:31
Show Gist options
  • Save asanger/6194050 to your computer and use it in GitHub Desktop.
Save asanger/6194050 to your computer and use it in GitHub Desktop.
Open Xcode > Preferences > Downloads, click Command Line Tools, then click Install.
Run ```$ sudo vim /etc/paths``` and move ```/usr/local/bin``` to the top line.
```bash
$ /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
$ brew install git
$ brew install mysql
$ sudo mysql_install_db --verbose --user=root --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
$ mysql.server start
$ mysql.server start
```
@DaleGardner
Copy link

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

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