Build from Source
Bee is written using the Go language.
You may build the Bee client software directly from the source.
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
-
Clone the repository:
git clone https://github.com/ethersphere/bee
cd bee -
Use
git
to find the latest release:git describe --tags
-
Checkout the required version:
git checkout v2.3.0
-
Build the binary:
make binary
-
Check you are able to run the
bee
command. Success can be verified by running:dist/bee version
2.3.0
-
(optional) Additionally, you may also like to move the Bee binary to somewhere in your
$PATH
sudo cp dist/bee /usr/local/bin/bee