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 built/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 makefile.
The latest CometBFT is now installed. You can verify the installation by
running:
Reinstall
If you already have CometBFT installed and you make updates, simply run:Compile with CLevelDB Support
Install LevelDB (minimum version is 1.7). Install LevelDB with snappy (optional). Below are commands for Ubuntu:cleveldb:
./build.