[BUG] New --settings flag not working
Resolved 💬 11 comments Opened Jul 26, 2025 by possibilities Closed Jul 31, 2025
Environment
- Platform (select one): Max plan
- Claude CLI version: 61
- Operating System: linux
- Terminal: alacritty
Bug Description
New --settings flag doesn't appear to work
Steps to Reproduce
┌─╼[130]╾─╼[09:39:54]
└─╼[~/code/dotfiles]
╰╼[main]╾─╼[4d99149]
▶ cat /tmp/settings.json
{
"model": "opus",
"permissions": {
"defaultMode": "plan"
}
}
┌─╼[09:39:55]
└─╼[~/code/dotfiles]
╰╼[main]╾─╼[4d99149]
▶ claude /model
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /home/mike/code/dotfiles │
╰───────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Select Model │
│ Switch between Claude models. Applies to this session and future Claude Code sessions. For custom model names, specify with --model. │
│ │
│ ❯ 1. Default (recommended) Opus 4 for up to 50% of usage limits, then use Sonnet 4✔ │
│ 2. Opus Opus 4 for complex tasks · Reaches usage limits faster │
│ 3. Sonnet Sonnet 4 for daily use │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Enter to confirm · Esc to exit
┌─╼[09:40:24]
└─╼[~/code/dotfiles]
╰╼[main]╾─╼[4d99149]
▶ claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /home/mike/code/dotfiles │
╰───────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > Try "create a util logging.py that..." │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
? for shortcuts
Expected Behavior
Above I expect the model to be opus and the default mode to be plan mode
Actual Behavior
Neither setting is respected
Additional Context
I tried adding some hooks also but they didn't show up
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗