Skip to content
BENIBIX Learn

--resume Flag

Also known as claude --resume, claude -r, --resume

It opens an old session so you can keep going.

Think of it like

It is like you open a book at the page you marked. You do not start it again.

Example

Lucy worked on a login bug yesterday. She named the session login-fix. Today she runs claude --resume login-fix and picks up where she left off.

Why it matters

The chat and what Claude learned in it come back, so you do not explain the task again.

Definition

--resume opens an old Claude Code session so you can keep going. Give it the session's name or ID to open that one. Give it nothing and you get a list to pick from. It looks in this project first, then in your other projects. If the session is still running in the background, it opens it here.

Example code

bash
claude --resume auth-refactor
Open the session named auth-refactor.
--resume is the first way in this picture.

Common mistake

Using --resume for the last session. claude --continue opens the newest one with no name or list needed.

Key takeaways

  1. 1
    Name or ID. Opens that one.
  2. 2
    Nothing. Shows a list.
  3. 3
    --continue. The newest one.

Learn it properly