Claude Code stuck on old version? Winget updates fail in elevated Windows shells
ctrivedi · reddit · 2026-11-22
A Reddit user shares a Windows gotcha with updating Claude Code via winget: in an elevated (SYSTEM/admin) terminal, winget kept claiming "no newer package versions available" while Claude Code stayed at 2.1.302 — but a normal, non-admin PowerShell upgraded straight to 2.1.330.
The cause: winget installs Claude Code per user, so an elevated shell can have its own separate copy that doesn't update as expected. The author also hit a real bug where claude update reported "Claude is up to date!" on 2.1.240 even though winget had 2.1.330, so that message can't be trusted on winget installs.
TL;DR
- Update from a normal user shell, not admin/SYSTEM: winget upgrade Anthropic.ClaudeCode
- Check the actual latest version with winget show Anthropic.ClaudeCode
More from coding & agent
- Gemini 4 Neon tops Bug Hunt Bench; Antigravity vs AFK Pilot vs T3 Code compared — PawelHuryn · 2026-11-22
- Informal verification: using System One models as proof checkers to build epistemic trust in agents — LauraRuis · 2026-11-22
- NotebookLM + Google Antigravity: 4 free prompts to compress hours of research into minutes — aftahi_ai · 2026-11-22
- Dev warns: revoke API keys after feeding them to models, or use hourly temp credentials — lipeng0820 · 2026-11-22
- Lauren Tan's team ships 11,000 PRs a month with ~0.5% revert rate using agents — aftahi_ai · 2026-11-22
- Rudrank shares his self-built AI orchestrator project — rudrank · 2026-11-22