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

/exit

slash never mined documented JSON

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

Exit the CLI. In an attached background session, this detaches and the session keeps running. Alias: /quit

Anthropic's own wording. Read off Commands, captured 2026-09-28.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 150on this box, as of v2.1.309
Written about v0.2.25 first named in a changelog, 27 Feb 2025

In the changelogs

10

Releases whose published page names /exit.

  1. v2.1.307
    Console sign-in notice in cloud sessions builds its exit instruction differently

    The notice saying sign-in isn't available in a cloud session started with a Console sign-in now builds its "run /exit" step at runtime

    found in this entry's text

  2. v2.1.307
    Small additions: out-of-credits reason, exit hint, run skill script, Artifact switch

    Out-of-credits messages carry a reason, exit hints match your setup, the run skill gains a script, and CLAUDE_CODE_DISABLE_ARTIFACT is wired in

    found in this entry's text

  3. v2.1.307
    Expired sign-in message no longer always opens with "Run /exit"

    With DISABLE_LOGIN_COMMAND set, the expired claude.ai sign-in message now builds its opening sentence instead of always saying "Run /exit"

    found in this entry's text

  4. v2.1.305
    Input is held back with a notice when no cloud session is running

    When no cloud session is running, Claude Code can refuse to send or run what you typed and tells you to run /login

    found in this entry's text

  5. v2.1.302
    /resume refuses while the terminal is attached to a remote session

    In a terminal attached to a remote session, /resume now explains how to resume a local conversation instead of opening the picker

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

  6. v2.1.302
    New and reworded messages for cloud sessions and missing start folders

    Claude Code now explains how to open another cloud session and says plainly when a server's start folder no longer exists

    found in this entry's text

  7. v2.1.229
    Slash commands can mark themselves terminal-only, and SDK clients get the list

    Terminal-only commands like /doctor and /exit are flagged so non-terminal hosts can hide them.

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

  8. v2.1.207
  9. v1.0.7
    New Features

    found in this entry's text

  10. v0.2.25
    Exit Command Aliases

    found in this entry's text

First cited

1

The earliest release whose published evidence quoted /exit was v2.1.302, 16 Oct 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.30216 Oct 2026/resume can't open this computer's conversations while this terminal is attached to a remote session. To resume one, run /exit, then `claude --resume` in a shell.

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 slash command does. All slash commands.

Feedback