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

# CLI Overview

> Use the pb CLI for terminal-native Product Brain workflows.

<Warning>
  **Early access** — Run `pb --help` for your installed version. [**Join the Product Brain Community**](https://community.productbrain.io).
</Warning>

The `pb` CLI lets agents and humans use Product Brain from a terminal. Humans give intent; agents type commands.

## Install

See [Install pb](/docs/install). Quick copy:

```bash theme={null}
npm install -g @productbrain/cli@beta
```

## Common loop

```bash theme={null}
pb orient --task "Describe the task"
pb session start
pb capture "DEC: ..."
pb session close
```

For generated command details, see the CLI reference page.
