Install Gubernator (gbnt)
You must install the Gubernator CLI (gbnt) on your machine to manage clusters, interact with the API, or run the Manager daemon itself.
Choose your operating system below to download and install the pre-compiled binary.
Linux
-
Download the latest release:
-
Make the
gbntbinary executable: -
Move the binary to a file location on your system
PATH: -
Verify the installation:
macOS
You can download the binary depending on your Mac's processor architecture (Intel or Apple Silicon).
Apple Silicon (M1/M2/M3)
-
Download the binary:
-
Make it executable and move it to your PATH:
Intel (x86_64)
-
Download the binary:
-
Make it executable and move it to your PATH:
Windows
-
Download the latest
.exerelease using PowerShell: -
Move the
gbnt.exefile to a folder of your choice (for example,C:\Program Files\Gubernator). -
Add the folder to your Environment Variables
PATHso you can usegbntfrom any terminal: - Search for "Environment Variables" in the Windows Start menu.
- Click "Edit the system environment variables".
- Under the "Advanced" tab, click "Environment Variables...".
- Find the
Pathvariable under "System variables", select it, and click Edit. - Click New and add the path to the folder containing
gbnt.exe. -
Click OK to save.
-
Open a new PowerShell or Command Prompt window and verify the installation:
Running via Docker
You can run Gubernator inside Docker using the multi-stage Dockerfile.
Build the Image
-
For the local architecture:
-
For multiple architectures (Intel, macOS, Raspberry Pi) using buildx:
Run the Container
docker run -d \
--name gbnt-manager \
-p 4000:4000 \
-p 4001:4001 \
-p 4002:4002 \
-v /var/run/docker.sock:/var/run/docker.sock \
marioezquerro/gubernator:latest serve
Compiling from Source
If you prefer to compile Gubernator yourself, ensure you have Go 1.24+ installed. Note that CGO_ENABLED=1 is required due to the SQLite dependency.
git clone https://github.com/mario-ezquerro/gubernator.git
cd gubernator
go build -o gbnt ./cmd/gbnt
sudo mv gbnt /usr/local/bin/gbnt
Note: The Flutter Web Dashboard is pre-compiled and embedded in the
internal/web/flutter/directory. If you need to modify the dashboard UI, install Flutter SDK and runcd web-ui && flutter build web --release --base-href "/", then copy the output tointernal/web/flutter/.
Post-Installation: SRE Monitoring
After installing gbnt, you can optionally deploy a full SRE observability stack with a single command:
This deploys cAdvisor, Prometheus, Grafana, Loki, and Promtail on a dedicated Docker network. See the CLI Reference for details.