- Reference
- delta CLI
Reference
delta CLI
Every command of the delta command line, which drives Avalanche Cloud.
uv run delta COMMAND
Most commands take --org, --project (an ID or an exact name), --token and --json. Inside a
deployed project, the organization and project come from delta.toml.
| Group | Commands |
|---|---|
| Account | login, logout, auth status, auth whoami |
| Projects | init, deploy, clone, projects |
| Workflows and versions | flows, deployments |
| Runs | runs, machine send, tui |
| Triggers | schedules, webhooks |
| Keys and accounts | env, connect, disconnect |
Account
| Command | Does |
|---|---|
delta login | Signs in with the browser. --no-browser prints a link instead. |
delta logout | Signs out |
delta auth status | Says whether you are signed in |
delta auth whoami | Shows your account and organization |
For scripts, set DELTA_TOKEN instead of signing in.
Projects
delta init [PATH]
Links a folder to a project and writes delta.toml.
| Flag | Meaning |
|---|---|
--name | The project’s name. Default: the name in pyproject.toml. |
--project | Link to an existing project |
--flow-path | Where the workflows are. Repeatable. |
--force | Replace an existing delta.toml |
delta deploy [PATH]
Uploads the project as a new deployment.
| Flag | Meaning |
|---|---|
--name | The project’s name, when it is not linked yet |
--env-file PATH | Store each variable of the file as a project secret first |
delta clone PROJECT [DIR]
Downloads a project’s deployed source into a new folder. --deployment picks a version.
delta projects list | rename NAME | delete
delete is permanent, is for organization admins, and is refused while a run is unfinished.
--yes skips the question; --wait waits until it is done.
Workflows and versions
| Command | Does |
|---|---|
delta flows list | Lists the project’s workflows |
delta flows get FLOW | Shows one |
delta deployments list | Lists deployments |
delta deployments get ID | Shows one |
delta deployments promote ID [--flow FLOW] | Makes a deployment current |
delta deployments rollback --flow FLOW | Makes the previous deployment current |
Runs
delta runs start FLOW
| Flag | Meaning |
|---|---|
--input JSON | The run input. Required unless rerunning. |
--file FIELD=PATH | A file for an input field. Repeatable. |
--deployment ID | Run a specific version. Default: the current one. |
--rerun-of RUN_ID, --from SLUG, --only | Rerun from a step |
Other delta runs commands
| Command | Does |
|---|---|
delta runs list | Lists runs. Filters: --flow, --status, --deployment, --after. |
delta runs get RUN_ID | Shows a run |
delta runs events RUN_ID | Follows a run live |
delta runs result RUN_ID | The result. --node for one step. |
delta runs outputs RUN_ID | Each step’s output |
delta runs artifacts RUN_ID | The files the run produced |
delta runs download RUN_ID [--out DIR] | Downloads those files |
delta runs cancel RUN_ID | Cancels a run |
| `delta runs links | children |
delta runs history RUN_ID | A state machine’s transitions |
delta runs send-event RUN_ID KEY --data JSON | Sends an event |
delta runs decide RUN_ID NODE --outcome JSON --reason TEXT | Submits an approval |
delta machine send [MACHINE] EVENT
Sends an event to a state machine: --run RUN_ID or
--key FIELD=VALUE, and --data JSON.
delta tui
The terminal console. --flow, --run and --read-only work as in ava tui.
Triggers
| Command | Does |
|---|---|
delta schedules list | Lists schedules |
delta schedules get ID | Shows one |
delta schedules disable ID --expected-revision N | Turns one off |
delta webhooks list | Lists webhook URLs |
delta webhooks get FLOW | Shows one |
Schedules are declared in code and turned on at deploy. Turn one back on in the console.
Keys and accounts
delta env set NAME | list | unset NAME
Manages secrets and settings.
| Flag | Meaning |
|---|---|
--secret | Store as a secret: it cannot be read back |
--value-file PATH | Read the value from a file. Default: from the terminal. |
--project (default), --flow SLUG, --org | The scope |
delta connect [NAME], delta disconnect NAME
Without a name, lists the integrations the project declares. With a name,
connects an account for a connector or an MCP server. Flags: --api-key, --header,
--client-secret, --no-browser.
