Skip to main content

erigon-build

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

Jump to install

Source facts

Repository
erigontech/erigon
Last source activity
February 4, 2026 at 11:18
Detected SKILL.md language
English
Stars
3,584
Forks
1,546

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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 ```bash 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: ```bash ./build/bin/erigon --version ```
View on GitHub