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

# Installation

> Install Chamber CLI in seconds and submit your first GPU workload

# Installation

> [!NOTE]
>
> The Chamber CLI is currently in early access. Contact [support@usechamber.io](mailto:support@usechamber.io) to get access.

## First-Time Setup

> [!NOTE]
>
> **Chamber guides you through everything.** Just run `chamber login` and follow the prompts. No manual configuration required.

### Step 1: Login

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

This opens your browser to authenticate. After logging in, you're automatically configured.

> [accordion] Using an API token instead?
>
> For CI/CD or headless servers, use token-based auth:
>
> ```bash theme={null}
> chamber login --token ch.your-api-token
> ```
>
> Generate tokens in the [Chamber Dashboard](https://app.usechamber.io) under **Settings > API Tokens**.
>
> > [!NOTE]
> >
> > The [AI Assistant](https://docs.usechamber.io/cli/chat.md) (`chamber chat`) requires browser-based login and does not support API tokens.

### Step 2: Verify

```bash theme={null}
chamber whoami
```

That's it! You're ready to submit workloads.

## Submit Your First Workload

Navigate to your training code and run:

```bash theme={null}
chamber run ./my-training-project --gpus 4 --team <team-id> --dry-run
```

> [!TIP]
>
> **First time?** The `--dry-run` flag shows you exactly what Chamber will generate without actually building or submitting. Remove it when you're ready to run for real.

### What happens next

If it's your first time, Chamber will interactively guide you through:

1. **Registry setup** — Choose Google Artifact Registry, AWS ECR, or another registry
2. **Docker installation** — If Docker isn't installed, Chamber offers to help
3. **Cloud CLI setup** — If AWS CLI or gcloud isn't configured, Chamber walks you through it

```
$ chamber run ./my-project --gpus 4 --team abc123

No container registry configured

Chamber needs a container registry to store your Docker images.

Select your registry type:

  [1] Google Artifact Registry (recommended for GCP users)
  [2] AWS ECR (recommended for AWS users)
  [3] Other Docker registry

Select an option [1]:
```

After the one-time setup, future runs are instant:

```bash theme={null}
# This just works now
chamber run ./my-project --gpus 4 --team abc123
```

## Optional: Set Your Organization

If you belong to multiple organizations, set a default:

```bash theme={null}
chamber config set organization_id your-org-id
```

> [!TIP]
>
> Find your organization ID in the [Chamber Dashboard](https://app.usechamber.io) under **Settings > Organization**.

## Shell Completion

Enable tab completion for faster workflows:

> [tab] Bash
>
> ```bash theme={null}
> # Add to ~/.bashrc
> source <(chamber completion bash)
> ```

> [tab] Zsh
>
> ```bash theme={null}
> # Add to ~/.zshrc
> source <(chamber completion zsh)
> ```

> [tab] Fish
>
> ```bash theme={null}
> chamber completion fish | source
> ```

## Next Steps

> [card] [AI Assistant](https://docs.usechamber.io/cli/chat.md)
>
> Ask about workloads, capacity, and more

> [card] [Auto-Containerize](https://docs.usechamber.io/cli/run.md)
>
> Submit training jobs with `chamber run`

> [card] [Command Reference](https://docs.usechamber.io/cli/commands.md)
>
> Explore all available commands


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.