Installing Dependencies


Install go following the instructions in the official golang website.


First, you will need to set up your GOPATH. Make sure that the location $HOME is something like /Users/<username>, you can corroborate it by typing echo $HOME in your terminal.

Go to $HOME with the command cd $HOME and open the the hidden file .barshrc with a code editor and paste the following lines (or .bash_profile if your're using OS X).

export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

Save and restart the terminal.

Note: If you can't see the file, use the shortcut Command + Shift + . in Finder.

Updating Packages

To update all packages in your GOPATH run:

go get -u all

If you want to update a specific package run:

go get -u <package_name>


Glide is a package manager for Go used in most of Tendermint's and Cosmos' codebases.

To install it copy and paste the following command in your Terminal:

curl | sh

Or install it with Homebrew if you have MacOS (OSX):

brew install glide


Tendermint and Ethermint also use Docker images for a better ease in installation and usage. You can install Docker for your OS, Cloud Provider or Server from their installation page.

results matching ""

    No results matching ""