erigon-build

star 3.6k

Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands.

erigontech By erigontech schedule Updated 2/4/2026

name: erigon-build description: Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands. allowed-tools: Bash

Build Erigon Binary

Build the Erigon binary by running make erigon from the repository root.

Build Command

make erigon

This compiles the Erigon binary and places it at ./build/bin/erigon.

What the Build Does

  • Compiles the main Erigon executable
  • Sets version information from git (commit, branch, tag)
  • Applies appropriate CGO flags for the platform
  • Outputs binary to build/bin/erigon

Prerequisites

  • Go (version specified in go.mod)
  • C compiler (gcc or clang)
  • Make

After Building

The binary will be available at:

./build/bin/erigon

You can verify the build by running:

./build/bin/erigon --version
Install via CLI
npx skills add https://github.com/erigontech/erigon --skill erigon-build
Repository Details
star Stars 3,575
call_split Forks 1,522
navigation Branch main
article Path SKILL.md
More from Creator