How do I setup my Ethereum Dev Environment in OS X Mojave?

This is a quick post. All you need to do is follow the commands below, then you’re all set!

In your root ~ directory, in the terminal, type the following:


to install from scracth type npm install install

npm i -g npm to update npm


npm install -g ganache-cli


npm install -g truffle


npm install -g web3@0.20.0


npm install -g solc


[Getting Started Installing Git][]


Run in the terminal: /usr/bin/ruby -e "$(curl -fsSL"

[More Brew info][]


After homebrew is installed, then run: brew install nvm

Do not forget to follow the instructions and edit your .bashprofile to include an export link from $NVMDIR to the prescribed place. Read your terminal after installation for more instruction from Homebrew.


nvm ls-remote to list available node.js versions use nvm install v10.13.0 for the latest stable version nvm use v10.13.0 - to designate this version for use node -v command should return the current version of node being used is v10.13.0

Sublime Text


If you use Sublime Text, download the [Ethereum linter][], and [EthereumSnippets][] through package control.

Otherwise, google around for linters for Solidity for your own code editor.


Now, you’re all setup for your first smart contract!

Published 24 Nov 2018

founder && full stack && ethereum developer.
Max Goodman on Twitter