To create truly powerful decentralized applications, we need to have a local version of Ethereum and Truffle. You can't get Ethereum by itself; you need to use a client, which in this case will be Geth. Truffle is a framework for creating, deploying, and testing dApps on your machine without having to wait for external services, all in one place.
There are different Ethereum implementations, with the most well-known being Parity and Geth. When it comes to installing Ethereum, what you're actually doing is getting a client that implements its protocol, so you have a choice regarding your favorite development system.
Let's go ahead and install Ethereum and Truffle. First, to get Ethereum on Mac, you need to run the following commands:
brew update && brew upgrade
brew tap ethereum/ethereum
brew install ethereum
That will compile...