Pre-requisite Installations

The installation commands provided on this page are for reference. If you use any other platform then please refer to the following download links:

  1. Install Golang

  2. Install Docker

  1. Golang

sudo apt-get update
sudo apt-get -y upgrade
sudo tar -xvf go1.21.9.linux-amd64.tar.gz -C /usr/local
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
export GOROOT=/usr/local/go
source ~/.profile
go version
  1. Docker and Docker Compose

sudo apt-get update
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch=\"$(dpkg --print-architecture)\" signed-by=/etc/apt/keyrings/docker.gpg] $(. /etc/os-release && echo \"$VERSION_CODENAME\") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin make gcc
echo '{ "log-opts": { "max-size": "10m", "max-file": "100" } }' | sudo tee /etc/docker/daemon.json
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl restart docker
  1. Clone and setup the latest version of Lagrange CLI repository on your machine.

# Latest CLI Version: v0.2.2
git clone
cd client-cli
go mod download
sudo apt install make gcc
make build

Last updated