Difference between revisions of "Mac Solidity Setup"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
* On a new system you can use | * On a new system you can use | ||
brew install node | brew install node | ||
* Install Truffle4 [http://truffleframework.com/ Truffle Framework] | |||
sudo npm install truffle | |||
** If you have older version YOU MUST REMOVE IT | |||
npm uninstall -g truffle |
Revision as of 21:43, 10 March 2018
Solidity Programming setup
- Install Xcode
- Open xcode to accept the license agreement.
- Close xcode
- Open terminal
xcode-select --install
this will install command line tools, which is needed to install homebrew
- Install homebrew
- Go to Brew sh
- Copy and paste script from brew into terminal
- Install Geth
brew update // update catalog brew tap ethereum/ethereum // add the ethereum repository to catalog brew install ethereum
To upgrade an existing installation
brew upgrade ethereum
- Install Ganache Ganache
- New version has a bug so install Ganache Version 1
- Ganache is like testrpc
- Install NodeJs NodeJs
- This installation will also upgrade older versions
- On a new system you can use
brew install node
- Install Truffle4 Truffle Framework
sudo npm install truffle
- If you have older version YOU MUST REMOVE IT
npm uninstall -g truffle