Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

-n

cli never mined documented JSON

A Claude Code CLI flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Also written --name. Every list on this page counts all of these spellings together.

Set a display name for the session, shown in /resume and the terminal title. You can resume a named session with claude --resume <name>. In an interactive session, if another live session on this machine already uses the name, Claude Code applies a variant of it instead. <br /><br />/rename changes the name mid-session and also shows it on the prompt bar

Anthropic's own wording. Read off CLI reference, captured 2026-09-26.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 149on this box, as of v2.1.308
Written about v2.1.66 first named in a changelog, 4 Mar 2026

In the changelogs

10

Releases whose published page names -n.

  1. v2.1.299
    Option values that start with a dash are now kept attached to their option

    When Claude Code passes options on, a value starting with a dash is joined with =, and -n is written out as --name

    found in this entry's text, named in this entry

  2. v2.1.290
    Teammates now inherit the lead session's proactivity level

    Teammates started by a lead session now receive --proactivity with the lead's level when one is set

    found in this entry's text

  3. v2.1.283
    Help for claude daemon lists commands to manage Remote Control servers

    claude daemon help can now list remote-control list, add and remove, and worker status reports the folder being served

    found in this entry's text

  4. v2.1.246
    Background workers are launched with a name

    Background workers are spawned with a --name argument identifying them.

    named in this entry, found in this entry's text

  5. v2.1.232
    Background session names can be marked as chosen to avoid a collision

    Background session names auto-changed to dodge collisions now survive respawn like ones you chose.

    named in this entry, found in this entry's text

  6. v2.1.224
    Server-supplied CLI arguments are validated on self-hosted runners

    Self-hosted runners now reject malformed or blocklisted CLI arguments handed down by the server.

    found in this entry's text

  7. v2.1.223
    Cloud sessions started with a title rename themselves instead of auto-titling

    Cloud sessions you start with --name keep that name instead of being overwritten by a generated title.

    named in this entry, found in this entry's text

  8. v2.1.221
    Background session names starting with "-" survive respawn

    Background sessions renamed to something starting with a dash now restart correctly.

    named in this entry, found in this entry's text

  9. v2.1.221
    Session titles are normalised and blank titles rejected

    Session titles are trimmed and cleaned, and blank ones are simply ignored instead of set.

    named in this entry, found in this entry's text

  10. v2.1.66
    Remote Control Simplified

    found in this entry's text

First cited

0

No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.

Feedback