Build from Source
Bee is written using the Go language.
You may build the Bee client software directly from the source.
Prerequisites for installing directly from source are:
- go - download the latest release from golang.org.
- git - download from git-scm.com.
- make - make is usually included by default in most UNIX operating systems, and can be installed and used on almost any other operating system where it is not included by default.
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.4.0
-
Build the binary:
make binary
-
Check that you are able to run the
bee
command. Success can be verified by running:dist/bee version
2.4.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