cell claude

Run Claude Code in a devcell container

Synopsis

Starts a Claude Code session inside an isolated devcell container.

The current working directory is mounted as /workspace. All additional args are forwarded to the claude binary unchanged.

Use —ollama to route Claude Code through a local ollama instance (Anthropic Messages API compatibility). This sets ANTHROPIC_BASE_URL to point at ollama on the host. Can also be enabled permanently via use_ollama = true in the [llm] section of devcell.toml.

Examples:

cell claude
cell claude --resume
cell claude --ollama
cell claude [args...] [flags]

Options

  -h, --help   help for claude

Options inherited from parent commands

      --base-image string         core image for scaffold Dockerfile (default: ghcr.io/dimmkirr/devcell:core-local)
      --build                     rebuild image before running (forces --no-cache)
      --debug                     plain-text mode plus stream full build log to stdout
      --dry-run                   print docker run argv and exit without running
      --engine string             execution engine: docker or vagrant (default "docker")
      --macos                     use macOS VM via Vagrant (alias for --engine=vagrant)
      --plain-text                disable spinners, use plain log output (for CI/non-TTY)
      --session-name string       session name for persistent home (~/.devcell/<name>)
      --vagrant-box string        Vagrant box name override
      --vagrant-provider string   Vagrant provider (e.g. utm) (default "utm")

SEE ALSO