Blockchain

Install go-bitsong

How to install the bitsongd binary into your system.

This guide explains how to install the bitsongd binary into your system. Follow these steps to set up your environment and compile the software.

Update System

On Ubuntu, start by updating your system to ensure all existing packages are up to date.

sudo apt update
sudo apt upgrade

Install Pre-requisites

Install the necessary dependencies and build tools. On Ubuntu, this can be done with the following command:

sudo apt install git build-essential ufw curl jq --yes

Install Go

Install Go to compile the application. You can follow the official documentation for your specific OS.

See the official Go installation guide for details.

On Ubuntu, you can install a compatible version using this script:

wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.19.5

Install go-bitsong binary

Clone the go-bitsong repository, checkout the target version, and install it.

cd $HOME
git clone https://github.com/bitsongofficial/go-bitsong
cd go-bitsong
git checkout v0.15.0
make install
If you encounter issues at this step, please check that you have the latest stable version of Go installed.

Verify Installation

Verify that everything is working correctly by checking the installed version.

bitsongd version

bitsongd should output the version number, similar to:

0.15.0
Copyright © 2026