promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/logout

Signs out of your Anthropic account.

โœ… WHEN TO USE IT?

Cleanly disconnect an account from a device

On a shared machine, run /logout after finishing work to sign out of your own Anthropic account.

โ›” WHEN NOT TO?

Just briefly checking whether, and with which account, you're logged in

/logout ends the session immediately instead of just displaying information.

Better: Use /status to view account info without signing out.

SOURCES