# Erigon Build

> Erigon Build is an Agent Skill for development published in the erigontech/erigon repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `erigon-build`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/erigontech/erigon/blob/HEAD/.claude/skills/erigon-build/SKILL.md
- Repository: erigontech/erigon (3,582 GitHub stars when collected)

## SKILL.md

# 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
```

---

Source: https://www.openparable.com/skill/development/erigon-build (OpenParable). Cite the canonical URL above.
