Updated on April 3, 2020

Install binary distribution

MacOS with Homebrew

Prerequisites

Important

Hyperledger Besu requires:

  • MacOS High Sierra 10.13 or later versions
  • Java 11+ to compile; earlier versions are not supported. You can install Java using brew cask install adoptopenjdk. Alternatively, you can manually install the Java JDK.

Install (or upgrade) using Homebrew

To install Besu using Homebrew:

brew tap hyperledger/besu
brew install hyperledger/besu/besu

To upgrade an existing Besu installation using Homebrew:

brew upgrade hyperledger/besu/besu

To display the Besu version and confirm installation:

besu --version

To display Besu command line help:

besu --help

Linux / Unix / Windows

Prerequisites

Attention

Besu requires Java 11+ to compile; earlier versions are not supported. Besu is currently supported only on 64-bit versions of Windows, and requires a 64-bit version of JDK/JRE. We recommend that you also remove any 32-bit JDK/JRE installations.

Linux Open File Limit

If synchronizing to MainNet on Linux or other chains with large data requirements, increase the maximum number of open files allowed using ulimit. If the open files limit is not high enough, a Too many open files RocksDB exception occurs.

Install from packaged binaries

Download the Besu packaged binaries.

Unpack the downloaded files and change into the besu-<release> directory.

Display Besu command line help to confirm installation:

bin/besu --help
bin\besu --help