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.

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, which is easy to mix up because the customer-facing dashboard is conventionally hosted at gateway.<domain> (the URL prefix gateway here refers to the dashboard host, while the gateway URL argument refers to the LLM proxy):
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