[DOCS] Install on Windows via winget command instead of PS1 install script
Status Fixed / completed
Maintainer reply ✓ Yes — ant-kurt
Activity 5 comments · opened Nov 13, 2025 · closed Jan 12, 2026
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://github.com/anthropics/claude-code
Section/Topic
Getting Started
Current Documentation
irm https://claude.ai/install.ps1 | iex
What's Wrong or Missing?
Missing winget command.
Suggested Improvement
I suggest that instead of using:irm https://claude.ai/install.ps1 | iex
it seems simpler to install using winget:winget install --id Anthropic.ClaudeCodewinget install --id Git.Git -e --source winget
Impact
Low - Minor confusion or inconvenience
Additional Context
_No response_
5 Comments
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
when installing Claude code via winget, and then run
claude doctorgives
Warning: Running native installation but config install method is 'unknown'
Using WinGet also includes a SHA256 validation for the installer so it's less likely an MITM type of attack results in the wrong thing getting installed.
This has been documented at https://code.claude.com/docs/en/setup#winget
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.