/logout
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.
Sign out from your Anthropic account
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
6Releases whose published page names /logout.
-
v2.1.281
Error wording for sessions hosted by the desktop app: no slash commands
Some error messages drop slash-command and flag advice when the session is hosted by a desktop app
found in this entry's text
-
v2.1.281
Error messages and advice worded for a desktop host
Some error messages use different wording when Claude Code runs inside a desktop host app, such as "sign out and sign in again"
found in this entry's text
-
v2.1.234
Wrong-account device token now gets its own message
A token from the wrong account now says so and tells you to log out.
named in this entry, found in this entry's text
-
v2.1.232
Artifact auth errors say which login is needed
Artifact auth errors now tell you a claude.ai login is needed and to run /logout to clear an API key.
named in this entry, found in this entry's text
-
v2.1.224
Artifact tool now explains exactly which credential is blocking it
The artifact tool now names the exact credential blocking you, with a fix for each.
found in this entry's text
-
v2.1.40
claude authCommand Groupfound in this entry's text
First cited
2The earliest release whose published evidence quoted /logout was v2.1.224, 7 Aug 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.
Presence across releases
0The 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.