[BUG] can't log in claude with version 2.1.195 (Claude Code)

Status Fixed / completed
Reported on v2.1.195
Maintainer reply None cached
Activity 3 comments · opened Jun 29, 2026 · closed Jun 29, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

PS C:\> claude --version
2.1.195 (Claude Code)

PS C:\> claude login
Not logged in · Please run /login

PS C:\> claude /login
/login isn't available in this environment.

What Should Happen?

Claude should be able to login

Error Messages/Logs

/login isn't available in this environment.

Steps to Reproduce

run claude /login

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.195 (Claude Code)

Claude Code Version

2.1.195 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

<img width="707" height="532" alt="Image" src="https://github.com/user-attachments/assets/c21f90f2-a0e9-4dfe-9133-9e43bd86f39c" />

<img width="1152" height="648" alt="Image" src="https://github.com/user-attachments/assets/0eb16b54-dd8f-48e9-b4bc-e0e832cd774e" />

View original on GitHub ↗

3 Comments

github-actions[bot] · 3 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/71488
  2. https://github.com/anthropics/claude-code/issues/59969

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

101knowledge102 · 3 months ago

<img width="1152" height="648" alt="Image" src="https://github.com/user-attachments/assets/7e0cac71-25ad-43cc-9e51-b569487d39ae" />

Run Powershell as administrator, not in ISE mode, then go to c:\ run claude /login worked

github-actions[bot] · 1 month ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.