bnerd CLI¶
The bnerd command-line client is the primary way to manage b'nerd cloud infrastructure from the terminal. It covers the full platform surface: DNS, domains, Kubernetes, compute (servers, volumes, networks, routers), load balancers, object storage (RGW), billing, and WireGuard VPN. Beyond a traditional CLI it ships an interactive TUI with a built-in AI chat.
Full command reference and guides: cli.docs.bnerd.com
What it manages¶
| Area | Commands |
|---|---|
| DNS | bnerd dns zones · bnerd dns records |
| Domains | bnerd domains |
| Kubernetes | bnerd k8s |
| Compute | bnerd servers · bnerd volumes · bnerd networks · bnerd routers |
| Security | bnerd security-groups (aliases: sg, secgroups) |
| Load balancers | bnerd loadbalancers |
| Object storage | bnerd rgw users · bnerd rgw buckets |
| Billing | bnerd billing |
| VPN | bnerd vpn |
| Organization | bnerd members · bnerd invitations · bnerd accounts |
All commands support -o table (default), -o json, and -o yaml for scripting.
Install¶
Downloads coming with CLI v0.5.0. This page will link the public download channel (binaries for Linux, macOS and Windows, checksums, SBOM) as soon as it is live.
Quick start¶
1. Authenticate¶
The interactive prompt asks for your API URL, credentials, and organization — it writes ~/.bnerd.yaml (mode 0600). For non-interactive or CI use, configure manually:
bnerd config set api-url https://api.bnerd.cloud
bnerd config set token YOUR_API_TOKEN
bnerd config set org-id YOUR_ORG_ID
2. Verify¶
3. First commands¶
bnerd dns zones list # list DNS zones
bnerd k8s list # list Kubernetes clusters
bnerd servers list # list compute servers
bnerd billing overview # billing summary
bnerd x # launch the interactive TUI
Modes¶
Interactive TUI — bnerd x opens a Bubbletea terminal UI with :command navigation across all resource types. TUI documentation →
AI chat — inside the TUI, :ai opens the AI chat and :code switches it to the development agent. AI chat documentation → The --isolate flag runs AI-generated commands inside bubblewrap, podman, or docker for filesystem isolation. AI isolation guide →
Configuration¶
Default config: ~/.bnerd.yaml (mode 0600). Precedence: CLI flags → BNERD_* environment variables → config file → defaults.
Further reading¶
All command pages, guides, and reference material live at cli.docs.bnerd.com:
- Getting started — install, auth, first steps
- Command reference — every subcommand documented
- Guides — VPN setup, external-dns, scripting, AI isolation
- TUI — interactive terminal UI