- CLI flags — options you pass when starting Claude from your terminal (e.g.
claude --model sonnet). They configure the session before it starts. - Slash commands — text commands you type inside an active session (e.g.
/help). They control Claude’s behavior while the session is running.
Getting help
/help lists every slash command available in the current session, including commands added by plugins and skills.
Two types of commands
CLI flags are consumed once and cannot be changed mid-session (with the exception of
/model and /permissions, which change the running configuration in place).
CLI flags
Pass flags directly afterclaude:
Slash commands
Type a slash command at the input prompt inside any session:Keyboard shortcuts
These shortcuts work inside any interactive Claude Code session:Ctrl+C interrupts the current response but keeps the conversation alive. Use Ctrl+D or /exit to end the session entirely.Subcommands
In addition to the mainclaude command, a few subcommands are available in your terminal: