Build from source
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.
Teku requires Java 11+; earlier versions are not supported.
Installation on Linux / Unix / MacOS X
Clone the Teku repository
git clone https://github.com/Consensys/teku.git
After cloning, go to the
Build Teku with the Gradle wrapper
gradlew, as follows:
./gradlew distTar installDist
The command produces an expanded distribution, ready to run in
build/install/teku, and a
.tar distribution in
Go to the
Display the Teku help to confirm installation:
To view the list of available Gradle tasks, run
Continue with Starting Teku.