Skip to main content
The Unbound CLI (unbound) lets you authenticate, configure AI coding tools, manage policies, inspect usage, and administer your organization — all without leaving the terminal.

Installation

Requires Node.js 18+.
On Linux installs where Node lives in a system path (e.g. the NodeSource apt package), npm install -g writes to a root-owned directory and needs sudo:
With a user-scoped Node manager (nvm, fnm, volta) or a custom npm prefix, no sudo is required.
Verify:
Both unbound and unbound-cli are installed and point to the same binary. If unbound resolves to a different program, see CLI Path Conflicts. Credentials and URL settings are stored at ~/.unbound/config.json, created automatically on first login.

Environment overrides

Three environment variables take precedence over anything stored in the config file: If a command reaches the wrong host after you ran unbound config urls, check these first — a stale export from an earlier shell silently shadows the file. unbound config show prints the values actually in effect.

Commands at a glance

Use unbound <command> --help for flag details on any command.

Configuration

unbound config reads and writes the three URLs stored in ~/.unbound/config.json (gateway, frontend, backend) without forcing you to re-run unbound login. Useful for tenant / custom-domain installs, switching between staging and production, or recovering from a bad URL set. Example — point the CLI at a tenant install without logging out. Positional order is gateway → frontend → backend. Watch the naming: the first argument is the gateway (LLM proxy) URL, even though the dashboard host is conventionally gateway.<domain>.
See Tenant / Custom Domains for the full custom-domain setup, including passing the same URLs at login time.

Authentication

Login, logout, status, and tenant URL config

Tool Setup

Configure AI tools to route through Unbound

Policy Management

Create and manage all four policy types

Users & Groups

Manage members, user groups, and tool connections

Discovery

Scan devices for AI tools and schedule recurring scans

Chat

Query usage data with natural language