How to change Claude Code model via CLI/terminal

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Mar 15, 2026 · 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.)?

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗