$ recombobulate _
home / tips / manage-claude-code-settings-with-the-config-cli
0

Manage Claude Code Settings with the Config CLI

bagwaa @bagwaa · Mar 26, 2026 · Configuration
manage-claude-code-settings-with-the-config-cli

Editing settings.json by hand works, but claude config gives you a safer, faster way to manage Claude Code configuration from the terminal — no JSON syntax errors, no hunting for the right file path.

# List all current settings
claude config list

# Read a single value
claude config get model

# Set a value
claude config set model claude-opus-4-5

# Delete a value (reset to default)
claude config delete model

By default, claude config writes to your global user settings. Add --project to scope the change to the current project's .claude/settings.json instead:

# Set a model override just for this project
claude config set --project model claude-haiku-4-5

# Set allowed tools for this project
claude config set --project allowedTools '["Bash","Read","Write","Edit"]'

This is especially useful in scripts or onboarding flows where you want to configure Claude Code programmatically without requiring developers to locate and hand-edit JSON files.

You can also inspect what settings a project has configured separately from global defaults — claude config list --project shows only project-level overrides.

claude config is the safe, scriptable way to manage settings — skip the JSON editor.

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Switch to the Stable Update Channel with autoUpdatesChannel

The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.

bagwaa @bagwaa · 1 hour ago
0
Set Claude's Response Language with the language Setting

The language setting makes Claude respond in your preferred language by default, across every session and project.

bagwaa @bagwaa · 1 hour ago
0
Customize or Remove Claude's Git Attribution with the attribution Setting

The attribution setting lets you customize or completely remove Claude's Co-Authored-By trailer from git commits and pull requests.

bagwaa @bagwaa · 1 hour ago