Updated on April 7, 2020

Build from source

Prerequisites

Important

Teku requires Java 11+; earlier versions are not supported.

Installation on Linux / Unix / MacOS X

Clone the Teku repository

Clone the PegaSysEng/teku repository:

git clone https://github.com/PegaSysEng/teku.git

Build Teku

After cloning, go to the teku directory.

Build teku with the Gradle wrapper gradlew, as follows:

./gradlew distTar installDist

Note

The command produces an expanded distribution, ready to run in build/install/teku, and a .tar distribution in build/distribution.

Go to the teku directory:

cd build/install/teku

Display the Artemis help to confirm installation:

bin/teku --help

Tip

To view the list of available Gradle tasks, run ./gradlew tasks

Continue with Starting Teku.