⌨️--name Flag
Also known as claude --name, claude -n, Session display name
It gives a new session a name you choose.
Think of it like
It is like you write a name on a jar. Then you know what is in it.
Example
Jack starts three sessions on three tasks. He names them with -n, so each terminal tab shows which task it is, and the /resume list is easy to read.
Why it matters
A name is easy to remember and type. A long ID is not.
Definition
Example code
bash
claude -n "login-fix"Common mistake
Key takeaways
- 1Your name. For the session.
- 2In the list. And the title bar.
- 3/rename. To change it later.