Skip to content

Setup and workspace folders

Set up the harness, scaffold workspaces and apps, and upgrade or remove the CLI.

Setup commands print text and have --no-interactive forms for scripts where they would otherwise prompt. dexto upgrade and dexto uninstall manage a command installed by the install script; for npm installs, use npm. See Update and remove.

Generated from dexto 2.0.0-beta.0.

dexto create-app

Create a Dexto application (CLI, web, bot, etc.)

dexto create-app [name]
Option What it does
--from-image <package> Use existing image (e.g., @dexto/image-local)
--type <type> App type: script, webapp (default: script)

A local command: it does not follow the JSON and exit-code contract.

dexto init agent

Create a workspace agent scaffold

dexto init agent [id]
Option What it does
--subagent Create a specialized sub-agent scaffold
--primary Set this agent as the workspace primary

A local command: it does not follow the JSON and exit-code contract.

dexto init primary

Set the workspace primary agent

dexto init primary [id]

A local command: it does not follow the JSON and exit-code contract.

dexto init skill

Create a workspace skill scaffold

dexto init skill <id>

A local command: it does not follow the JSON and exit-code contract.

dexto init status

Show the current workspace configuration

dexto init status

A local command: it does not follow the JSON and exit-code contract.

dexto init-app

Initialize an existing Typescript app with Dexto

dexto init-app

A local command: it does not follow the JSON and exit-code contract.

dexto setup

Configure global Dexto preferences

dexto setup
Option What it does
--provider <provider> LLM provider (openai, anthropic, google, groq)
--model <model> Model name (uses provider default if not specified)
--default-agent <agent> Default agent name (default: coding-agent)
--no-interactive Skip interactive prompts and API key setup
--force Overwrite existing setup without confirmation

A local command: it does not follow the JSON and exit-code contract.

dexto connect

Connect a model provider auth method

dexto connect
Option What it does
--provider <provider> Model provider id
--method <method> Auth method id
--action <action> Existing profile action: use, replace, or delete
--no-interactive Require provider and method flags

A local command: it does not follow the JSON and exit-code contract.

dexto upgrade

Upgrade Dexto CLI (auto-migrates npm installs to native)

dexto upgrade [version]
Option What it does
--dry-run Print commands without executing them
--force Force reinstall during upgrade

A local command: it does not follow the JSON and exit-code contract.

dexto uninstall

Uninstall the Dexto CLI binary (does not uninstall agents)

dexto uninstall
Option What it does
--purge Also remove ~/.dexto completely
--dry-run Print actions without deleting files

A local command: it does not follow the JSON and exit-code contract.