Software Requirements

Before we start, please note that building software from source can be complex. If you're not comfortable with technical tasks, you might want to check the Docker installation.

Erigon works only from command line interface (CLI), so it is advisable to have a good confidence with basic commands.

Please ensure that the following prerequisites are met.

Build essential (only for Linux)

Install Build-essential and Cmake:

sudo apt install build-essential cmake -y

Git

Git is a tool that helps download and manage the Erigon source code. To install Git, visit:

https://git-scm.com/downloads.

Go Programming Language

Erigon utilizes Go (also known as Golang) version 1.22 or newer for part of its development. It is recommended to have a fresh Go installation. If you have an older version, consider deleting the /usr/local/go folder (you may need to use sudo) and re-extract the new version in its place.

To install the latest Go version, visit the official documentation at https://golang.org/doc/install.

C++ Compiler

This turns the C++ part of Erigon's code into a program your computer can run. You can use either Clang or GCC:

You can now proceed with Erigon installation.