Skip to main content
There are multiple ways to install Erst depending on your environment and preferences.

Prerequisites

Before installing Erst, ensure you have:
  • Go 1.24.0 or higher
  • Rust 1.70 or higher (for building from source)
  • Git (for cloning the repository)
For Rust installation, visit rustup.rs. For Go, visit go.dev/doc/install.

Installation methods

The simplest way to install Erst if you have Go installed:
go install github.com/dotandev/hintents/cmd/erst@latest
This will install the erst binary to your $GOPATH/bin directory. Make sure this directory is in your PATH.Verify the installation:
erst version

Verify installation

After installation, verify that Erst is working correctly:
erst version
The erst doctor command checks your environment and reports any configuration issues.

Configuration

Cache directory

Erst caches transaction data and simulation results in ~/.erst/cache by default. You can change this location:
export ERST_CACHE_DIR=/path/to/custom/cache

RPC endpoints

You can configure custom RPC endpoints for different networks:
export ERST_RPC_MAINNET=https://your-mainnet-rpc.com
export ERST_RPC_TESTNET=https://your-testnet-rpc.com

Updating Erst

Update to the latest version:
go install github.com/dotandev/hintents/cmd/erst@latest

Troubleshooting

Command not found

If you get a “command not found” error:
  1. Ensure $GOPATH/bin is in your PATH:
    echo $PATH | grep -q "$GOPATH/bin" || echo 'export PATH="$PATH:$GOPATH/bin"' >> ~/.bashrc
    source ~/.bashrc
    
  2. Verify the binary location:
    which erst
    

Rust simulator errors

If you encounter errors related to the Rust simulator:
  1. Ensure you built the simulator:
    cd simulator && cargo build --release
    
  2. Check Rust version:
    rustc --version  # Should be 1.70+
    

Permission denied

If you get permission errors:
chmod +x $(which erst)

Cache issues

If you experience cache-related problems:
erst cache clear --force
This will delete all cached transaction data. You’ll need to re-fetch transactions from the network.

Next steps

Now that Erst is installed, learn how to debug your first transaction:

Quick start guide

Debug a failed transaction in minutes