[DOCS] Install on Windows via winget command instead of PS1 install script
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.ClaudeCode
winget install --id Git.Git -e --source winget
Impact
Low - Minor confusion or inconvenience
Additional Context
No response
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 doctor
gives
Warning: Running native installation but config install method is 'unknown'
$ claude doctor
Diagnostics
└ Currently running: native (2.0.58)
└ Path: native
└ Invoked: C:\Users\<username>\.local\bin\claude.exe
└ Config install method: unknown
└ Auto-updates: default (true)
└ Search: OK (bundled)
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.