# Install Gaia
# Install Go
go by following the official docs.
Remember to set your
$PATH environment variable, for example:
Go 1.14+ 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.
If this command fails due to the following error message, you might have already set
LDFLAGS prior to running this step.
Unset this environment variable and try again.
NOTE: If you still have issues at this step, please check that you have the latest stable version of GO installed.
That will install the
gaiacli binaries. Verify that everything is OK:
gaiacli for instance should output something similar to:
# Build Tags
Build tags indicate special features that have been enabled in the binary.
|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
replace github.com/cosmos/cosmos-sdk => /path/to/clone/cosmos-sdkto
make clean installor
make clean build
- Test changes