Install binary distribution
Linux / Unix / macOS / Windows
Prerequisites
caution
Teku requires Java 21+ to compile; earlier versions are not supported.
- If using Windows, install the Microsoft Visual C++ 2010 security update.
Install from packaged binaries
Download the Teku packaged binaries.
Unpack the downloaded files and change into the teku-<release>
directory.
Display Teku command line help to confirm installation:
- Linux/macOS
- Windows
./bin/teku --help
bin\teku --help
macOS with Homebrew
Prerequisites
- Homebrew
- Java JDK.
caution
Teku requires Java 21+ to run. Earlier versions are not supported. You can install Java using brew install temurin
. Alternatively, you can manually install the Java JDK.
Install (or upgrade) using Homebrew
To install Teku using Homebrew:
brew tap ConsenSys/teku
brew install ConsenSys/teku/teku
To upgrade Teku using Homebrew:
brew upgrade ConsenSys/teku/teku
To display the Teku version and confirm installation:
teku --version