CLI commands and flags

--session-id

Assigns a specific UUID to be used as the conversation session ID.

Syntax

--session-id

Example

Terminal
claude --session-id "550e8400-e29b-41d4-a716-446655440000"

Type to search the reference, templates and lessons.