Setting up your Ethereum Eth Development Environment on a Mac OS X

Firstly, to install Ethereum Eth download the latest stable binary of cpp-ethereum, and install on your chosen operating system.

I’m running on Mac so I’ll install via Homebrew

brew update
brew upgrade
brew tap ethereum/ethereum
brew install cpp-ethereum

In the installation of cpp-ethereum, I ran into a compilation error

[ 24%] Built target llvm

make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):

These open issues may also help:

Error during install of  cpp-ethereum ([ 22%] Built target llvm make: *** [all] Error 2)

In order to get cpp-ethereum to run correctly on my Mac, I had to build from the head. The last line of the install snags the latest branch of cpp-ethereum

brew update
brew upgrade
brew tap ethereum/ethereum
brew reinstall llvm
At this point, close the terminal, and relaunch it.

brew install leveldb libmicrohttpd cryptopp
brew install cpp-ethereum --devel --successful --verbose

Now I’m able to launch with

eth -j --rpccorsdomain '*'

In some of our other tutorials, you will learn how to run eth with rpc and ipc. You’ll also learn how to create a custom Genesis Block to enable you to mine for ether quickly on your own testnet.