You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.7 KiB

Install Tendermint

The fastest and easiest way to install the tendermint binary is to run this script on a fresh Ubuntu instance, or this script on a fresh FreeBSD instance. Read the comments / instructions carefully (i.e., reset your terminal after running the script, make sure your okay with the network connections being made).

From Binary

To download pre-built binaries, see the releases page.

From Source

You'll need go installed and the required environment variables set

Get Source Code

mkdir -p $GOPATH/src/github.com/tendermint
cd $GOPATH/src/github.com/tendermint
git clone https://github.com/tendermint/tendermint.git
cd tendermint

Get Tools & Dependencies

make get_tools
make get_vendor_deps

Compile

make install

to put the binary in $GOPATH/bin or use:

make build

to put the binary in ./build.

The latest tendermint version is now installed.

Reinstall

If you already have Tendermint installed, and you make updates, simply

cd $GOPATH/src/github.com/tendermint/tendermint
make install

To upgrade, run

cd $GOPATH/src/github.com/tendermint/tendermint
git pull origin master
make get_vendor_deps
make install

Run

To start a one-node blockchain with a simple in-process application:

tendermint init
tendermint node --proxy_app=kvstore