Skip to content
You are reading the Teku development version documentation and some features may not be available in the stable release. You can switch to the stable version using the version box at the bottom of the screen.

Updated on November 18, 2020

Build from source

Important

If you want to use the latest development version of Teku or a specific commit, build from source. Otherwise, use the binary or Docker image for more stable versions.

Prerequisites

Important

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

Installation on Linux / Unix / MacOS X

Clone the Teku repository

Clone the Consensys/teku repository:

git clone https://github.com/Consensys/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 Teku help to confirm installation:

bin/teku --help

Tip

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

Continue with Starting Teku.

Questions or feedback? You can discuss issues and obtain free support on Teku Discord channel.
For paid professional support by Consensys, contact us at quorum@consensys.net