首先我们看一下go-ethereum的wiki
https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Mac
如果你还没有安装请点击
红框的位置请自行查看,我的是mac
点击进去后会有如下网站,按照文档安装就可以了
Then run the following commands to add the tap and install geth
:
主要是如下两行命令
brew tap ethereum/ethereum
brew install ethereum
You can install the develop branch by running --devel
:
brew install ethereum --devel
After installing, run geth account new
to create an account on your node.
You should now be able to run geth
and connect to the network.
Make sure to check the different options and commands with geth --help
For options and patches, see: https://github.com/ethereum/homebrew-ethereum
今天春节 就先看到这了后期会持续更新