Install Binaries

This guide will explain how to install the binaries: bnbchaind and bnbcli, onto your server. With these installed on a server, you can participate in the mainnet or testnet as a Full Node. Full Nodes of Binance Chain also help the network by accepting transactions from other nodes and then relaying them to the core Binance network.

Supported Platforms

We support running a full node on Mac OS, Windows and Linux.

Option One: Installation Script

We have a community-maintained installer script (install.sh) that takes care of chain directory setup. This uses the following defaults:

  • Home folder in ~/.bnbchaind
  • Client executables stored in /usr/local/bin (i.e. lightd or bnbchaind)

# One-line install
sh <(wget -qO- https://raw.githubusercontent.com/binance-chain/node-binary/master/install.sh)
The script will install the bnbchain, bnbcli and tbnbcli binaries. Verify that everything is OK:
$ bnbchaind version
$ bnbcli version

Option Two: Manual Installation

We currently use this repo to store historical versions of the compiled node-binaries.

  1. Install Git LFS

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

Please go to https://git-lfs.github.com/ and install git lfs.

  1. Download Binary with Git LFS:
git lfs clone https://github.com/binance-chain/node-binary.git

Please go to changelog to get the information about the latest release of full node version.

Go to directory according to the network you want to join in.

  1. Replace the network variable with testnet or prod in the following command:

cd node-binary/fullnode/{network}/{version}
4. Copy the executables (i.e.bnbchaind or bnbcli) to /usr/local/bin

Next

Now you can join the mainnet, the public testnet or create you own testnet