# Install Regen

The following instructions are for building the regen binary from source, also available at Install Regen alongside general information about the regen binary.

A significant difference here is that the genesis binary is used for each chain because a validator node needs to start from genesis (unless Using State Sync).

The following instructions also assume that you have already completed Initial Setup.

# Installation

Clone the regen-ledger repository:

git clone https://github.com/regen-network/regen-ledger

Change to the regen-ledger directory:

cd regen-ledger

Check out the genesis version:

For Regen Mainnet:

git checkout v1.0.0

For Redwood Testnet:

git checkout v1.0.0

For Hambach Testnet:

git checkout v4.0.0

Build and install the regen binary:

For Regen Mainnet:

make install

For Redwood Testnet:

make install

For Hambach Testnet:

EXPERIMENTAL=true make install

Check to make sure the installation was successful:

regen version

You should see the following:

For Regen Mainnet:

v1.0.0

For Redwood Testnet:

v1.0.0

For Hambach Testnet:

v4.0.0