首先我們看一下go-ethereum的wiki
https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Mac
如果你還沒有安裝請點擊
Paste_Image.png
紅框的位置請自行查看,我的是mac
點擊進去后會有如下網站,按照文檔安裝就可以了
Paste_Image.png
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
今天春節 就先看到這了后期會持續更新