Install CometBFT
From Go Package
Install the latest version of CometBFT’s Go package:From Binary
To download pre-built binaries, see the releases page.From Source
You’ll needgo installed and the required
environment variables set, which can be done with the following commands:
Get Source Code
Compile
$GOPATH/bin or use:
./build.
DISCLAIMER The binary of CometBFT is build/installed without the DWARF
symbol table. If you would like to build/install CometBFT with the DWARF
symbol and debug information, remove -s -w from BUILD_FLAGS in the make
file.
The latest CometBFT is now installed. You can verify the installation by
running:
Reinstall
If you already have CometBFT installed, and you make updates, simplyCompile with CLevelDB support
Install LevelDB (minimum version is 1.7). Install LevelDB with snappy (optionally). Below are commands for Ubuntu:cleveldb:
./build.