The following steps are known to work with Mac OS X 10.5 and 10.6. You can install from source or download a precompiled tarball.
- Precompiled Tarballs
From Precompiled Tarballs
To run Riak from our precompiled tarball, run these commands for the appropriate platform:
curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.3/1.3.1/osx/10.6/riak-1.3.1-osx-x86_64.tar.gz tar xzvf riak-1.3.1-osx-x86_64.tar.gz
curl -O http://s3.amazonaws.com/downloads.basho.com/riak/1.3/1.3.1/osx/10.6/riak-1.3.1-osx-i386.tar.gz tar xzvf riak-1.3.1-osx-i386.tar.gz
After the release is untarred you will be able to cd into the riak directory and execute bin/riak start to start the Riak node.
Installing with Homebrew is easy:
brew install riak
Homebrew will install Erlang if you don't have it already.
You must have Xcode tools installed from the CD that came with your Mac or from Apple's Developer website.
If you do not have Erlang already installed, see Installing Erlang. Don't worry, it's easy!
Next, download and unpack the source distribution.
wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.3/1.3.0/riak-1.3.0.tar.gz tar zxvf riak-1.3.1.tar.gz cd riak-1.3.1 make rel
If you get errors when building about “incompatible architecture”, please verify that you built Erlang with the same architecture as your system (Snow Leopard and higher - 64bit, everything else - 32bit).
From here you might want to check out: