CLI commands and flags

--model

Selects the model for the session using a full identifier or an alias like sonnet or opus.

Syntax

--model

Example

Terminal
claude --model claude-sonnet-5

Type to search the reference, templates and lessons.