How to change Claude Code model via CLI/terminal
Resolved 💬 3 comments Opened Mar 15, 2026 by shku1235 Closed Mar 19, 2026
Looking for documentation on how to change the model used by Claude Code when running via terminal/CLI. What are the available flags or environment variables to specify a different model (e.g., switching between Claude 3.5 Sonnet, Claude 3 Opus, etc.)?
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗