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:
This will install the erst binary to your $GOPATH/bin directory. Make sure this directory is in your PATH.Verify the installation:

Verify installation

After installation, verify that Erst is working correctly:
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:

RPC endpoints

You can configure custom RPC endpoints for different networks:

Updating Erst

Update to the latest version:

Troubleshooting

Command not found

If you get a “command not found” error:
  1. Ensure $GOPATH/bin is in your PATH:
  2. Verify the binary location:

Rust simulator errors

If you encounter errors related to the Rust simulator:
  1. Ensure you built the simulator:
  2. Check Rust version:

Permission denied

If you get permission errors:

Cache issues

If you experience cache-related problems:
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