Skip to content
Installation

Installation

Last updated:

Install with an AI coding agent

Hand this prompt to your AI coding agent (such as Claude Code, Cursor, or Codex) to install the CLI and verify it. Copy it, then paste it into the agent’s chat from a terminal-enabled session.

Install the Camber CLI
# Install the Camber CLI

Install the Camber CLI on this computer and confirm it runs.

## What the Camber CLI is

The Camber CLI (`camber`) is the command-line tool for CamberCloud. From the terminal it handles login, files in Camber Stash, agents, and agent chats. Docs: https://docs.cambercloud.com/docs/camber-cli/index.md

## Step 1: Check for an existing install

Run `camber version`.

- If it prints a version number, the CLI is already installed. Go to Step 3.
- If the command is not found, go to Step 2.

## Step 2: Install the CLI

The installer needs a bash-compatible terminal (macOS, Linux, or WSL on Windows). If this computer is Windows without one, stop and tell the user.

```bash
curl -sL https://cli.cambercloud.com/install-v2.sh | bash
```

The installer puts `camber` in `~/.camber/bin` and adds it to PATH in the user's shell profile: `~/.zshrc` for zsh, `~/.bash_profile` for bash on macOS, or `~/.bashrc` for bash on Linux. It skips this if the line is already there. Do not add the PATH line yourself.

- If the installer says `Unsupported shell` and asks for PATH to be added manually, tell the user which directory it named and let them add it to their shell's profile.
- Do not try to reload the user's shell. Until the user opens a new terminal, call the CLI by its full path: `$HOME/.camber/bin/camber`.

## Step 3: Verify the install

Run `camber version`, using the full path if you just installed it. Report the version it prints, and remind the user to open a new terminal so `camber` works there.

## Critical rules

- Do not use `sudo`. If the installer asks for elevated rights, stop and ask the user.
- If a command fails, show the user the exact error and stop. Do not guess or work around it. The only exception is `camber version` in Step 1: "command not found" there just means the CLI is not installed yet.

## After setup

Tell the user what they can do next:

- Log in to Camber with `camber login`: https://docs.cambercloud.com/docs/camber-cli/login/index.md
- Connect Camber to this AI tool with Camber MCP: https://docs.cambercloud.com/docs/camber-mcp/index.md
- Browse all CLI commands: https://docs.cambercloud.com/docs/camber-cli/index.md

Install manually

To install the Camber CLI, open a bash compatible terminal and execute the following command.

curl -sL https://cli.cambercloud.com/install-v2.sh | bash

This script will download and install the latest version of the Camber CLI on your system. Follow the directions at the end of the installation to ensure that the camber command is available on your default $PATH.

Verify Installation

After installation, verify that the CLI was installed correctly by running:

camber version

You should see the version number of the installed Camber CLI.

Update to the latest version

To update to the latest version of Camber CLI enter:

camber update