Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.181 ·

/config key=value — Set Settings from the Command Line

Entry
JSON All of v2.1.181
EntryKind: in v2.1.181,
New FeaturesSection of the release
What

/config now accepts key=value pairs as arguments, letting you set configuration settings without opening the interactive panel.

Usage
/config theme=dark
/config model=claude-opus-4-5 theme=dark
/config key=value key2=value2
Details
  • Works in both interactive mode and non-interactive (--print) mode.
  • Invalid keys produce: "<key> isn't a /config setting. Run /config to see what's available." and "can't be set with key=value — open /config to change it from the panel." for panel-only settings.
  • Running /config with no arguments still opens the interactive settings panel.
  • Some settings (like model and theme) have dedicated slash commands (/model, /theme) that are also surfaced in the error hint.
Evidence

/config handler (search for "Usage: /config key=value [key=value ...]") — xqp handler at line ~570976; key→command map (search for "outputStyle") — Cqp map at line ~570945

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded /config key=value syntax to set any setting from the prompt (e.g. /config thinking=false) — works in interactive, -p, and Remote…

See this entry in the whole of v2.1.181 →

Feedback