Skip to content

CLI

Checking session...

CLI access

Command line

Install the comwit CLI, sign in, and operate your projects from the terminal.

Reference

comwit CLI

The comwit CLI drives projects, databases, runtime apps, and domains from your terminal against the public platform API. Create a token under API tokens or use comwit login.

Install

macOS and Linux (amd64/arm64).

curl -fsSL https://raw.githubusercontent.com/burrr-ai/comwit-cli/main/install.sh | sh

Sign in

Device flow (recommended), or paste a cwt_ token from the API tokens page.

comwit login
comwit login --token <cwt_token>

Runtime apps

comwit apps list --project <project-id>
comwit apps create --project <project-id> --name web
comwit deploy --project <project-id> --app <app-id> --package ./dist

Databases

comwit databases list --project <project-id>
comwit databases create --project <project-id> --name production

Domains

comwit domains list --project <project-id>
comwit domains add --project <project-id> --domain example.com
comwit domains check --project <project-id> --domain example.com

CLI login

Authorize a device

Running comwit login opens this page with a code. Enter the code shown in your terminal to review what it grants before approving.