> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getunbound.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Unbound CLI

> Install and manage the Unbound AI Gateway from your terminal

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+**.

```bash theme={null}
npm install -g unbound-cli
```

Verify:

```bash theme={null}
unbound --version
```

Both `unbound` and `unbound-cli` are installed and point to the same binary. If `unbound` resolves to a different program, see [CLI Path Conflicts](/support/troubleshooting/cli-path-errors).

Credentials and URL settings are stored at `~/.unbound/config.json`, created automatically on first login.

## Commands at a glance

| Command                    | What it does                                         |
| -------------------------- | ---------------------------------------------------- |
| `unbound login`            | Authenticate via browser or API key                  |
| `unbound setup <tool>`     | Configure an AI coding tool to route through Unbound |
| `unbound policy <type>`    | Create, list, and manage policies                    |
| `unbound users list`       | List organization members                            |
| `unbound user-groups list` | List and manage user groups                          |
| `unbound tools list`       | See connected AI tools                               |
| `unbound discover`         | Scan this device for installed AI tools              |
| `unbound chat`             | Query usage data in natural language                 |
| `unbound status`           | Check CLI config and API connectivity                |

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

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/cli/authentication">
    Login, logout, whoami, and tenant URL config
  </Card>

  <Card title="Tool Setup" icon="screwdriver-wrench" href="/cli/tool-setup">
    Configure AI tools to route through Unbound
  </Card>

  <Card title="Policy Management" icon="shield" href="/cli/policies">
    Create and manage all four policy types
  </Card>

  <Card title="Users & Groups" icon="users" href="/cli/user-management">
    Manage members, user groups, and tool connections
  </Card>

  <Card title="Discovery" icon="radar" href="/cli/discovery">
    Scan devices for AI tools and schedule recurring scans
  </Card>

  <Card title="Chat" icon="message-bot" href="/cli/chat">
    Query usage data with natural language
  </Card>
</CardGroup>
