Skip to content
BENIBIX Learn

User Settings File

AI⌨️ Claude CodeConfiguration

Also known as ~/.claude/settings.json, user settings

Your own file of settings. It works in each repo you open.

Think of it like

It is like your own backpack. It goes with you to every class.

Example

Emma wants Claude to run git status without asking, in all her repos. She puts the rule in her user settings file once.

Why it matters

It saves you from setting the same thing in every project.

Definition

The user settings file is ~/.claude/settings.json. It sits in the .claude folder in your home folder. It applies to you in each repo on this machine. It is the place for your own choices, such as your default model and your own rules. It is at the bottom of the order, so any repo file can win over it.

Example code

json
{
  "permissions": {
    "allow": ["Bash(git status)", "Bash(git diff *)"]
  }
}
Let Claude run git status and git diff in every project.

Common mistake

Putting a team rule here. Your teammates never get it, because the file is only on your machine.

Key takeaways

  1. 1
    In your home folder. ~/.claude.
  2. 2
    Every project. On this machine.
  3. 3
    Lowest level. Projects override.

Compare