Skip to content

Installation

From Source (Go Install)

If you have Go 1.24+ installed:

go install git.bnerd.net/cloud/app/cli@latest

This installs the bnerd binary to $GOPATH/bin. Make sure this directory is in your PATH.

Build from Source

git clone https://git.bnerd.net/cloud/app/cli.git
cd cli
make build

The binary is created as ./bnerd in the project root.

Build for All Platforms

make build-all

This produces binaries in the build/ directory for:

Platform Architecture Binary
Linux amd64 bnerd-linux-amd64
Linux arm64 bnerd-linux-arm64
macOS amd64 (Intel) bnerd-darwin-amd64
macOS arm64 (Apple Silicon) bnerd-darwin-arm64
Windows amd64 bnerd-windows-amd64.exe

Pre-built Binaries

Pre-built binaries are available from the GitLab Package Registry for each tagged release.

curl -L -o bnerd https://git.bnerd.net/cloud/app/cli/-/packages/generic/bnerd/<VERSION>/bnerd-linux-amd64
chmod +x bnerd
sudo mv bnerd /usr/local/bin/
curl -L -o bnerd https://git.bnerd.net/cloud/app/cli/-/packages/generic/bnerd/<VERSION>/bnerd-linux-arm64
chmod +x bnerd
sudo mv bnerd /usr/local/bin/
curl -L -o bnerd https://git.bnerd.net/cloud/app/cli/-/packages/generic/bnerd/<VERSION>/bnerd-darwin-arm64
chmod +x bnerd
sudo mv bnerd /usr/local/bin/
curl -L -o bnerd https://git.bnerd.net/cloud/app/cli/-/packages/generic/bnerd/<VERSION>/bnerd-darwin-amd64
chmod +x bnerd
sudo mv bnerd /usr/local/bin/

Download bnerd-windows-amd64.exe from the package registry and add it to your PATH.

Replace <VERSION> with the desired release tag (e.g., v0.1.0).

Verify Installation

bnerd --version