[BUG] No /logout command
Resolved 💬 3 comments Opened Aug 20, 2025 by lawwu Closed Aug 20, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [x] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.085
- Operating System: macOS 14.3
- Terminal: iTerm2
Bug Description
The docs say here: https://docs.anthropic.com/en/docs/claude-code/troubleshooting there is a /logout command but when running that command, I see:
/logout
⏺ I understand you'd like to log out. However, as Claude Code, I don't have a logout function since I'm a CLI tool that operates per session. Each time you start a new conversation or session, it's
essentially a fresh start.
If you're looking to:
- Exit the current Claude Code session: Use Ctrl+C or Ctrl+D
- Clear your session data: Simply close your terminal or start a new session
- Get help with Claude Code: Use /help```
## Steps to Reproduce
1. <!-- First step -->
2. <!-- Second step -->
3. <!-- And so on... -->
## Expected Behavior
cached credentials cleared
## Actual Behavior
<!-- What actually happened -->
## Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗