CLI Tool
Your infrastructure
at your fingertips.
40+ commands. Six platforms. Browser-based OAuth login, interactive TUI dashboard, SSH with Tailscale/WireGuard preference, Docker management, and auto-updates — all without leaving the terminal. Install via Homebrew or curl.
40+
Commands
6
Platforms
TLS 1.3
End-to-end encryption
<5 MB
Single binary
Quick Start
Three steps to full control.
Install via Homebrew or curl, authenticate with browser-based OAuth, and start managing your infrastructure in under a minute.
Install
Login with browser-based OAuth
Use
No API tokens to copy
Browser-based OAuth means no manual API key management. Your session token is stored in ~/.hostatlas/cli.json with 0600 permissions — readable only by your user. The CLI refuses to start if the config file has world-readable permissions.
Command Reference
40+ commands. Zero guesswork.
Every command follows a consistent pattern: hostatlas <noun> [flags]. Every command has auto-generated --help output.
Server Management
Domain Management
Monitoring
Operations
Docker
System
Terminal Experience
Designed for operators who live in the terminal.
Every detail of the CLI output is intentional — from colored status indicators to ANSI-safe table formatting that looks right on any terminal emulator.
Browser-based OAuth Login
No API tokens to copy-paste. Run hostatlas login and authenticate in your browser. The CLI receives a secure token automatically via a local callback server.
Interactive TUI Dashboard
A full interactive terminal dashboard built with Bubbletea. Three tabs — Servers, Alerts, and Domains — with keyboard navigation, real-time updates, and detail views.
SSH with Tailscale/WireGuard
The ssh command automatically detects and prefers Tailscale or WireGuard IPs for private, encrypted connections. Falls back to public IP when no tunnel is available.
Auto-update Mechanism
Run hostatlas update to self-update to the latest version. The CLI checks for updates, downloads the new binary, and replaces itself in place. No package manager needed.
Homebrew Support
Install with brew install hostatlas/tap/hostatlas. Official Homebrew tap with automatic formula updates on every release. Also available via curl for Linux and Windows.
macOS, Linux, Windows
Pre-built binaries for macOS (arm64/amd64), Linux (arm64/amd64), and Windows. Single binary, zero dependencies, under 5 MB. Works on Apple Silicon, Graviton, and x86.
Colored Status Indicators
Green for healthy, yellow for warnings, red for critical. Every status field uses semantic colors that map directly to severity levels. Supports NO_COLOR and --no-color for piping to files.
Shell Completion
Full tab-completion for bash, zsh, fish, and PowerShell. Completes command names, flag names, server hostnames, and recipe names dynamically from the API.
JSON Output Mode
Every command supports --json for machine-readable output. Pipe to jq, feed into scripts, or integrate with your existing automation tooling.
Security
Zero-trust from your terminal to our API.
Every request is authenticated, encrypted, and audited. The CLI enforces the same security standards as the web dashboard.
Browser-based OAuth
Authenticate via your browser — no API tokens to copy. The CLI opens a local callback server, receives a secure token, and stores it with 0600 permissions. Every request includes a Bearer token in the Authorization header.
TLS 1.3 Enforced
The CLI enforces a minimum TLS version of 1.3 for all API communication. Older protocols are rejected at the transport layer. Certificate pinning is optional via --pin-cert.
Config File Protection
The config file at ~/.hostatlas/cli.json is created with 0600 permissions. The CLI checks file permissions on every invocation and refuses to start if the config is world-readable.
Full Audit Trail
Every CLI action — server restarts, recipe executions, backup operations, alert acknowledgements — is logged in the team audit trail with timestamp, user, and IP address.
Cross-platform
One binary. Six build targets.
Pre-built for every major OS and architecture. No interpreters, no dependencies, no containers. Download and run.
linux/amd64
Debian, Ubuntu, RHEL, Alpine
linux/arm64
Raspberry Pi, Graviton, Ampere
darwin/amd64
macOS Intel
darwin/arm64
macOS Apple Silicon
windows/amd64
Windows 10/11, Server 2019+
windows/arm64
Windows on ARM
Self-documenting
Self-documenting by design.
Every command generates its own help page, usage examples, and flag documentation automatically.
--help for every command and subcommand Did you mean "servers"? -a / --all) Your entire fleet, one keystroke away.
Install via Homebrew or curl in under 30 seconds. A single binary, zero dependencies, and 40+ commands that give you full control over your infrastructure without leaving the terminal.