Skip to content

CLI Reference

clauderon Help

Global Options

--help, -h Print help
--version, -V Print version

clauderon Version

Commands

clauderon daemon

Start the background daemon (required for all operations).

Terminal window
clauderon daemon [OPTIONS]

clauderon daemon Help

Options:

--http-port <PORT> HTTP server port (default: 3030, 0 to disable)
--dev Development mode (serve frontend from filesystem)

Feature Flags:

FlagDefaultDescription
--enable-webauthn-authfalseWebAuthn passwordless authentication for web UI
--enable-ai-metadatatrueAI-generated session titles from prompts
--enable-auto-reconciletrueSync database with backends on startup
--enable-usage-trackingfalseTrack Claude API usage per session
--enable-experimental-modelsfalseEnable experimental AI models (Codex, Gemini)

See Feature Flags Reference for detailed documentation.

Example:

Terminal window
# Start daemon with default settings
clauderon daemon
# Start with AI-generated session titles
clauderon daemon --enable-ai-metadata

clauderon create

Create a new session.

Terminal window
clauderon create --repo <PATH> --prompt <TEXT> [OPTIONS]

clauderon create Help

Required:

--repo <PATH> Git repository path
--prompt <TEXT> Initial prompt for the AI agent

Options:

--backend <BACKEND> Backend: zellij (default), docker
--agent <AGENT> Agent: claude (default), codex, gemini
--no-plan-mode Skip plan mode, go straight to implementation
--print Non-interactive mode (print output, exit when done)
--dangerous-skip-checks Bypass dirty repo checks

Docker-specific:

--image <IMAGE> Custom container image
--pull-policy <POLICY> Pull policy: always, if-not-present (default), never
--cpu-limit <LIMIT> CPU limit (e.g., "2.0" or "500m")
--memory-limit <LIMIT> Memory limit (e.g., "2g" or "512m")

Examples:

Terminal window
# Basic session with default backend (Zellij)
clauderon create --repo ~/project --prompt "Fix the login bug"
# Docker with custom image
clauderon create --backend docker --image rust:1.85 \
--repo ~/project --prompt "Build the project"
# Non-interactive for scripts
clauderon create --print \
--repo ~/project --prompt "Generate documentation"
# Skip plan mode for quick tasks
clauderon create --no-plan-mode \
--repo ~/project --prompt "Add a console.log statement"
# Docker with resource limits
clauderon create --backend docker \
--cpu-limit 4 --memory-limit 8g \
--repo ~/project --prompt "Heavy computation task"

clauderon tui

Launch the terminal user interface.

Terminal window
clauderon tui

clauderon tui Help

Keyboard shortcuts:

KeyAction
nCreate new session
EnterAttach to session
aArchive session
uUnarchive session
dDelete session
j / kNavigate down/up
g / GGo to first/last
rRefresh list
qQuit

clauderon list

List all sessions.

Terminal window
clauderon list [OPTIONS]

clauderon list Output

Options:

--archived Include archived sessions

clauderon list --archived

Output columns:

  • Name
  • Backend
  • Agent
  • Status
  • Created

clauderon attach

Attach to a session’s terminal.

Terminal window
clauderon attach <NAME>

clauderon attach Help

Arguments:

  • <NAME> - Session name

Attaches to the running session’s terminal. For Zellij sessions, this opens the Zellij pane. For Docker sessions, this attaches to the container’s TTY.


clauderon archive

Archive a session (hide from default list but preserve).

Terminal window
clauderon archive <NAME>

clauderon archive Help

Arguments:

  • <NAME> - Session name

Archived sessions are hidden from clauderon list but can be seen with clauderon list --archived. Use this to keep completed sessions without cluttering your active list.


clauderon delete

Delete a session permanently.

Terminal window
clauderon delete [OPTIONS] <NAME>

clauderon delete Help

Arguments:

  • <NAME> - Session name

Options:

--force, -f Force delete without confirmation

This removes the session from the database, deletes the git worktree, and cleans up backend resources (container, Zellij session, etc.).


clauderon refresh

Refresh a Docker session (pull latest image, recreate container).

Terminal window
clauderon refresh <NAME>

Arguments:

  • <NAME> - Session name

This command:

  1. Stops the existing container
  2. Pulls the latest version of the image
  3. Creates a new container with the same configuration
  4. Starts the new container

Useful for updating to newer Claude Code versions.


clauderon reconcile

Synchronize database with actual backend state.

Terminal window
clauderon reconcile

Useful after:

  • System crashes
  • Manual backend changes (manually deleting containers, etc.)
  • Database corruption

This command scans all backends and updates the database to match reality.


clauderon clean-cache

Manage Docker cache volumes.

Terminal window
clauderon clean-cache [OPTIONS]

Options:

--force Actually remove volumes (default: dry run)

clauderon creates shared Docker volumes for caching:

  • clauderon-cargo-registry - Cargo package cache
  • clauderon-cargo-git - Git dependencies
  • clauderon-sccache - Compilation cache

Without --force, shows what would be cleaned. With --force, removes the volumes.


clauderon config

Configuration management subcommands.

Terminal window
clauderon config <SUBCOMMAND>

clauderon config show

Show current configuration values.

Terminal window
clauderon config show

clauderon config paths

List all file paths used by clauderon.

Terminal window
clauderon config paths

clauderon config env

List all environment variables and their values.

Terminal window
clauderon config env

Environment Variables

VariableDescriptionDefault
RUST_LOGLog level filterclauderon=info
CLAUDERON_BIND_ADDRHTTP bind address127.0.0.1
CLAUDERON_ORIGINWebAuthn origin URLAuto-detected
CLAUDERON_DEVEnable dev mode0

Feature Flags (Environment)

Feature flags can also be set via environment variables:

VariableDefaultDescription
CLAUDERON_FEATURE_ENABLE_WEBAUTHN_AUTHfalseWebAuthn passwordless auth
CLAUDERON_FEATURE_ENABLE_AI_METADATAtrueAI-generated session titles
CLAUDERON_FEATURE_ENABLE_AUTO_RECONCILEtrueAuto-reconcile on startup
CLAUDERON_FEATURE_ENABLE_USAGE_TRACKINGfalseClaude usage tracking
CLAUDERON_FEATURE_ENABLE_EXPERIMENTAL_MODELSfalseExperimental AI models

Values: 1, true, yes, on to enable; 0, false, no, off to disable.

See Feature Flags Reference for detailed documentation.

Exit Codes

CodeMeaning
0Success
1General error
2Configuration error
3Session not found
4Backend error

See Also