Linux and MacOS

How to install Erigon in Linux and MacOS

The basic Erigon configuration is suitable for most users just wanting to run a node. For building the latest stable release use the following command:

git clone --branch <vx.xx.x> --single-branch https://github.com/ledgerwatch/erigon.git
cd erigon
make erigon

for example:

git clone --branch v2.60.0-rc1 --single-branch https://github.com/ledgerwatch/erigon.git
cd erigon
make erigon

You can check the list of releases for release notes.

Alternative installation method: Homebrew

Info: Recommended only for users who typically utilize Homebrew.

Erigon is compatible with Homebrew and can be easily installed on both Linux and Apple devices, including the latest Apple Silicon models. Homebrew users can install Erigon with just a single terminal command:

brew install erigon

This automatically handles downloading, compiling, and adding both the Erigon daemon and handy utilities like integration to your system's PATH.

For additional details on the Homebrew installation, users can refer to the Erigon Homebrew formula page at https://formulae.brew.sh/formula/erigon.

To stay updated with the latest releases, users can perform a brew upgrade erigon after each new erigon release.

Last updated