[BUG] Installation via Winget does not properly set up native installation at `C:\Users\%user%\.local\bin`

Resolved 💬 5 comments Opened Feb 22, 2026 by janpio Closed Mar 26, 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?

Tried to install using winget install Anthropic.ClaudeCode but things did not actually work in the end, footer of Claude Code showed errors that native installation did not exist and using /usage threw an error. Had to uninstall, reinstall via the recommended approach, and then even log out and log in again to be able to use /usage.

What Should Happen?

Winget should be equivalent to the (scary) script installation.

Error Messages/Logs

Steps to Reproduce

Unfortunately not sure.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.50 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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