⌨️Claude Code Settings Precedence
Also known as settings precedence, settings order
The order that says which file wins when two set the same key.
Think of it like
It is like asking a parent and then a teacher. The higher one has the last word.
Example
Lucy set a model in her user file, but Claude keeps using another. The project file sets one too, and it is higher.
Why it matters
When a setting seems to be skipped, this order nearly always says why.
Definition
Example code
bash
claude --settings '{"model": "claude-opus-5-5"}'Common mistake
Key takeaways
- 1Five levels. Managed on top.
- 2Highest wins. For one key.
- 3Lists merge. Rules add up.