Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (56 sloc) 2.41 KB

Install Gaia

This guide will explain how to install the gaiad and gaiacli entrypoints onto your system. With these installed on a server, you can participate in the mainnet as either a Full Node or a Validator.

Install Go

Install go by following the official docs. Remember to set your $GOPATH and $PATH environment variables, for example:

mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOPATH/bin" >> ~/.bash_profile
source ~/.bash_profile

::: tip Go 1.12+ is required for the Cosmos SDK. :::

Install the binaries

Next, let's install the latest version of Gaia. Make sure you git checkout the correct released version.

git clone -b <latest-release-tag>
cd gaia && make install

NOTE: If you have issues at this step, please check that you have the latest stable version of GO installed.

That will install the gaiad and gaiacli binaries. Verify that everything is OK:

$ gaiad version --long
$ gaiacli version --long

gaiacli for instance should output something similar to:

name: gaia
server_name: gaiad
client_name: gaiacli
version: 1.0.0
commit: 89e6316a27343304d332aadfe2869847bf52331c
build_tags: netgo,ledger
go: go version go1.12.5 darwin/amd64

Build Tags

Build tags indicate special features that have been enabled in the binary.

Build Tag Description
netgo Name resolution will use pure Go code
ledger Ledger devices are supported (hardware wallets)

Install binary distribution via snap (Linux only)

Do not use snap at this time to install the binaries for production until we have a reproducible binary system.

Developer Workflow

To test any changes made in the SDK or Tendermint, a replace clause needs to be added to go.mod providing the correct import path.

  • Make appropriate changes
  • Add replace => /path/to/clone/cosmos-sdk to go.mod
  • Run make clean install or make clean build
  • Test changes


Now you can join the mainnet, the public testnet or create you own testnet

You can’t perform that action at this time.