claude -r, --resume

Resume a session by ID or name, or open the picker.

Example

claude -r "auth-refactor"

Source: Claude Code CLI reference, checked 2026-10-24.

More flags

  • --model: Set the model for the session by alias or full name.
  • --add-dir: Add more working directories Claude can read and edit.
  • --allowedTools: Tools that run without asking for permission.

All CLI flags

Remember the flag next time

/cards has a flip-card deck for every Claude Code CLI flag.