--model
Selects the model for the session using a full identifier or an alias like sonnet or opus.
Syntax
--modelExample
Terminal
claude --model claude-sonnet-5Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--modelSelects the model for the session using a full identifier or an alias like sonnet or opus.
--modelclaude --model claude-sonnet-5