Update banner shows winget command inside WSL where winget is unavailable

Resolved 💬 3 comments Opened Apr 19, 2026 by akshaybapat6365 Closed Apr 23, 2026

Describe the bug
Claude Code CLI v2.1.83 running inside WSL (Ubuntu) shows the status bar message:

Update available\! Run: winget upgrade Anthropic.ClaudeCode

But winget is a Windows-only tool and is not available inside WSL. The CLI should detect it is running under WSL and suggest npm update -g @anthropic-ai/claude-code instead.

Environment

  • Claude Code v2.1.83
  • WSL2 Ubuntu on Windows 11
  • Installed via npm

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗