Skip to main content
The hx CLI is Hyperbrowser’s unified terminal interface across all core surfaces: Browser Sessions (hx browser), Web API (hx web), Linux & macOS Sandboxes (hx vm), and Secrets & Vaults (hx secrets, hx vaults).

Browsers (hx browser)

Create, inspect, open, stop, read logs, fill credentials, and invoke WebMCP tools on browser sessions.

Web API (hx web)

Run sync or async Fetch, Crawl, and Search jobs, and inspect unified web job history.

Sandboxes (hx vm)

Manage Linux and macOS sandboxes, filesystems, logs, processes, terminals, volumes, images, snapshots, and disks.

Secrets & Vaults (hx secrets / vaults)

Store encrypted secrets, manage vaults, inject env vars into sandboxes, and fill credentials into browsers.

Install

Install on macOS and Linux via Homebrew or the official install script:
See Install for Windows PowerShell, version pinning, and direct binary download instructions. Check your installed version or self-update at any time:
hx update also accepts --base-url, --allow-downgrade, and --no-verify.

Authentication & Profiles (hx auth, hx configure, hx profile)

Sign in interactively with your Hyperbrowser account, or save an API key directly:
To configure a profile directly with an API key (stored in ~/.hx_config/config):
List saved profiles and switch per command with --profile:
hx auth also supports --force on login, and hx configure accepts --base-url when pointing at a custom endpoint.

Global Flags

Global flags can be placed before any subcommand:

Interactive Dashboard & Shell Completion

Launch the terminal UI dashboard (requires an interactive TTY):
Generate shell completions for bash, zsh, fish, or powershell: