Skip to main content
Claude Code stores configuration in ~/.claude/ and supports both interactive configuration via /config and direct file editing.

Interactive configuration

The /config command opens an interactive settings panel where you can browse and change all settings:
The panel lets you navigate settings with arrow keys and toggle or edit values interactively. It is also aliased as /settings.

Configuration options

Model selection

Switch models with /model:
This opens a model picker showing available Claude models. Available models depend on your Anthropic subscription. You can also specify a model at startup:

Permission mode

Controls how Claude handles tool permission prompts: Set via the --permission-mode CLI flag at startup, or changed interactively from the /config panel.

Theme

Change the terminal color theme:
Themes affect syntax highlighting and UI element colors throughout the REPL.

Vim mode

Enable vim keybindings for the input prompt:
Toggle off by running /vim again.

Effort level

Adjust how much reasoning Claude applies:
Higher effort enables extended thinking for complex architectural decisions. Lower effort gives faster responses for simple tasks.

Output style

Change how Claude formats responses:

CLI flags

Pass flags when launching Claude Code:

Environment variables

On macOS, Claude Code uses the system Keychain to store credentials securely. The ANTHROPIC_API_KEY environment variable overrides the Keychain value if set.

Project-level configuration

Place a CLAUDE.md file in your project root to give Claude persistent context about your project:
Claude reads CLAUDE.md automatically at the start of every session in that directory.