promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/config

Opens the settings interface for theme, model, output style, and other preferences.

From v2.1.181 it can be set directly with key=value (e.g. /config thinking=false); from v2.1.182 named shortcuts are available (/config theme=dark, /config model=sonnet). key=value also works non-interactively (-p) and via Remote Control. '/config --help' lists all keys. Alias: /settings.

โœ… WHEN TO USE IT?

Set a single known value directly via command

/config theme=dark or /config model=sonnet

Browse interactively through all settings when unsure what to change

/config with no argument opens the settings UI

โ›” WHEN NOT TO?

Expecting the interactive dialog to work in a non-interactive script

the interactive UI isn't suited for automated/non-interactive (-p) runs

Better: use /config key=value directly โ€” it also works non-interactive and via Remote Control

SOURCES