Mac OS X

Ian Crowther edited this page Oct 14, 2013 · 13 revisions

Installing on Mac OS X


If you're using homebrew, it's simple:

$ brew install git-flow


If you're using MacPorts, it's simple, too:

$ port install git-flow

If you run into problems due to Xcode 4.2 upgrades & MacPorts 2.04 with the expat dependency not installing then simply use the workaround specified in like so:

$ sudo port install expat
--->  Configuring expat
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for expat is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: Status 1 encountered during processing.
To report a bug, see <>

$ sudo port clean expat
--->  Cleaning expat
$ sudo port install expat configure.compiler=llvm-gcc-4.2
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch expat-2.1.0_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing expat @2.1.0_0
--->  Activating expat @2.1.0_0
--->  Cleaning expat 

$ port install git-flow


Even using wget its a one line effort.

wget --no-check-certificate -q -O - | sudo bash


wget: command not found? curl is only two lines.

curl -L -O
sudo bash
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.