Skip to content

Chainabit CLI documentation

From a command
to completed work.

Sign in, choose a workspace, and run repeatable workflows from your terminal.

Use the chainabit command for interactive work, repeatable scripts, and CI jobs. Install it once and pick up from there.

New to the CLI? Start with the quickstart.

From install to automation
Your terminalOne command line for your account.

Three steps from install to a first result.

Start with your goal

What would you like to do?

Three entry points.
One clear next step.

01 / For getting started

Install and sign in

Install the chainabit CLI (also aliased as cb) and sign in with browser, device, or developer token flows.

Install Quickstart

A little guidance goes a long way

Start with a command.
Finish with a result.

Verify your identity and workspace before you run any work, then build up to scripts.

Read the usage guide
  1. 01

    Install the CLI

    Global, project-local, and upgrade options.

    Open installation
  2. 02

    Sign in and check your identity

    Verify your identity and workspace before running work.

    Follow the quickstart
  3. 03

    Configure it for your environment

    Environment files, overrides, and config precedence for local and production runs.

    Configure the CLI

Keep a good reference close

Know what you’re looking for?

Go straight to the commands, or read how permissions and configuration work.

Made for the way you build.CHAINABIT

About the CLI ​

chainabit lets you work with your Chainabit account from a terminal. Use it for interactive work, repeatable scripts, and CI jobs.

Install it once and you can:

  • sign in with browser/device flow for humans or time-bounded developer tokens for CI
  • pin a workspace and inspect the current context
  • organize cloud projects and tasks, run workflows, and inspect contribution graphs
  • run AI sessions, analyses, suggestions, and Chao conversations
  • discover, install, authenticate, and execute connectors
  • script repeatable workflows with --json

Why Install It ​

  • Developers get a fast shell for the most common Chainabit workflows.
  • Researchers can inspect data, run analyses, and export structured output.
  • Automation jobs can authenticate and act without needing a browser UI login form.

Start Here ​

  1. Quickstart — verify your identity and workspace before running work.
  2. Installation — global, project-local, and upgrade options.
  3. Usage Guide
  4. Configuration
  5. Permissions and folder trust
  6. Skills, plugins and agents on this computer and Run agents
  7. Command Reference
  8. Connectors CLI

Quick Tour ​

bash
chainabit auth login
chainabit auth whoami
chainabit workspace list
chainabit workspace current
chainabit chain list
chainabit connectors list

Choose an ID from workspace list and select it with chainabit workspace use <id> before creating work. Placeholder IDs in these guides must be replaced with IDs from your account.

The product calls cloud groupings projects. Some compatibility commands retain chainy, and executable atomic workflow tasks retain bit. Keep those identifiers when entering commands; Command reference shows the accepted syntax.

Secure By Default ​

  • Interactive sign-in defaults to browser or device authorization.
  • Non-interactive sign-in should use developer tokens and exchange them through chainabit auth login --token-env ....
  • Connector secrets should also come from stdin, env vars, or files instead of raw command-line arguments.
  • Environment files are loaded only when selected with --env-file or CHAINABIT_ENV_FILE.

Package Alias ​

The package installs two command names:

  • chainabit
  • cb

Built with purpose. chainabit.com