summaryrefslogtreecommitdiff
path: root/doc/install/OSX.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-24 17:08:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-24 17:08:22 -0400
commit5be83ac100a3a951f78f220237d776f466ca106a (patch)
treec5c11bfc6fca7b8a7ba187f69f662987c2bbe9a0 /doc/install/OSX.mdwn
parentac20a105888eb495e129e30da5cedb497ea91519 (diff)
add brew section to osx page and move away comments obsoleted by this change
Diffstat (limited to 'doc/install/OSX.mdwn')
-rw-r--r--doc/install/OSX.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/install/OSX.mdwn b/doc/install/OSX.mdwn
index 261959c7b..3f9c3a790 100644
--- a/doc/install/OSX.mdwn
+++ b/doc/install/OSX.mdwn
@@ -1,3 +1,14 @@
+## using Brew
+
+<pre>
+sudo brew update
+sudo brew install haskell-platform git ossp-uuid md5sha1sum coreutils pcre
+cabal update
+cabal install git-annex --bindir=$HOME/bin
+</pre>
+
+## using MacPorts
+
Install the Haskell Platform from [[http://hackage.haskell.org/platform/mac.html]].
The version provided by Macports is too old to work with current versions of git-annex.
Then execute
@@ -11,6 +22,8 @@ sudo cabal update
cabal install git-annex --bindir=$HOME/bin
</pre>
+## PATH setup
+
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
<pre>
PATH=~/bin:/usr/bin/local:$PATH