Commands

ody config

Display current configuration

Synopsis

ody config

Flags

This command has no flags.

Behavior

ody config loads the configuration from .ody/ody.json (with global config merged in) and prints the full resolved configuration object as pretty-printed JSON.

If no configuration file is found, it displays a warning and suggests running ody init:

No configuration found. Run `ody init` to set up your project.

Example

$ ody config

Output:

{
  "backend": "claude",
  "maxIterations": 5,
  "autoCommit": true,
  "validatorCommands": ["bun lint", "bun fmt"],
  "model": "claude-sonnet-4-20250514",
  "skipPermissions": true
}
  • Configuration -- Full reference for all config keys
  • ody init -- Create or update the configuration interactively

On this page