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

# Bonsai CLI

> The command-line interface for running with Bonsai

## Installation

You can install the Bonsai CLI with `npm`:

```bash theme={null}
npm install -g @bonsai-ai/cli
```

## Quick Start

Once you've installed the Bonsai CLI, you can log in to your Bonsai account with:

```bash theme={null}
bonsai login
```

After you've logged in, you can start coding with Bonsai:

```bash theme={null}
bonsai start
```

When you start a session, you'll automatically be assigned a frontier model at random. Model names are hidden in stealth mode to evaluate performance without bias.

## Log Out

If you need to log out of your Bonsai account, you can run:

```bash theme={null}
bonsai logout
```
