Fetch and compile the latest Terra Classic binaries from source.

Terra Classic core is the official implementation of the Terra Classic node software. Use this guide to install terradCopy terrad, the command-line interface and daemon that connects to Terra Classic and enables you to interact with the Terra Classic blockchain.

Get the Terra Classic core source code

  1. Use gitCopy git to retrieve Terra Classic core and check out the latest stable release, e.g. v3.6.0Copy v3.6.0. See GitHub releases for a list of available releases.

    BASH
    git clone https://github.com/classic-terra/core
    cd core
    git checkout [latest version] # ex., git checkout v3.6.0
  2. Build Terra core. This installs the terradCopy terrad executable to your GOPATHCopy GOPATH environment variable.

    BASH
    make build install
  3. Verify that Terra Classic core is installed correctly.

    BASH
    terrad version --long

    Example:

    BASH
    name: terra
    server_name: terrad
    client_name: terrad
    version: v3.6.0
    build_tags: netgo,ledger
    go: go version go1.22.12 linux/amd64
    # ...And a list of dependencies

Tip

If the terrad: command not foundCopy terrad: command not found error message returns, confirm that the Go binary path is correctly configured by running the following command:

BASH
export PATH=$PATH:$(go env GOPATH)/bin