Skip to content
Docs CLI

Install the CLI

Single static Go binary, no package manager needed.

The gridtrue binary is a single static Go executable. It has no shared-library dependencies. Installation is a download into $PATH and a verification step.

macOS and Linux

bash
curl -fsSL https://gridtrue.io/install.sh | sh
gridtrue version

Windows

powershell
iwr -useb https://gridtrue.io/install.ps1 | iex
gridtrue version

Manual download

If you do not want to pipe the installer, grab the binary straight from the releases page and move it into your PATH yourself.

bash
# Pick the asset for your OS / arch from
# https://gridtrue.io/download

curl -LO https://gridtrue.io/releases/latest/gridtrue-$(uname -s)-$(uname -m).tar.gz
tar -xzf gridtrue-*.tar.gz
install -m 0755 gridtrue /usr/local/bin/gridtrue
gridtrue version

Verify the binary

Every release is signed and published alongside a SHA-256 sum. The install script verifies both. If you prefer to do it by hand, download the matching .sha256 file from the releases page and check it locally:

bash
sha256sum -c gridtrue-$(uname -s)-$(uname -m).sha256

Upgrading

bash
gridtrue upgrade           # installs the latest stable release
gridtrue upgrade --channel=beta
gridtrue upgrade --pin=1.2.3