Skip to main content

Build from Source

Bee is written using the Go language.

You may build the Bee client software directly from the source.

caution

While it is possible to run Bee without it, we recommend the use of Go Ethereum's Clef external signer. Instructions for installing and integrating this with Bee can be found here.

Prerequisites for installing direct from source are:

  • go - download the latest release from golang.org.
  • git - download from git-scm.com.
  • make - usually included in most operating systems.

Build from Source#

  1. Clone the repository:

    git clone https://github.com/ethersphere/bee
    cd bee
  2. Use git to find the latest release:

    git describe --tags
  3. Checkout the required version:

    git checkout v1.1.0
  4. Build the binary:

    make binary
  5. Check you are able to run the bee command. Success can be verified by running:

    dist/bee version
    1.1.0
  6. (optional) Additionally, you may also like to move the Bee binary to somewhere in your $PATH

    sudo cp dist/bee /usr/local/bin/bee