[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.ClaudeCode
winget install --id Git.Git -e --source winget

Impact

Low - Minor confusion or inconvenience

Additional Context

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] · 8 months ago

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.

woutervh · 8 months ago

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'
denelon · 7 months ago

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.

ant-kurt collaborator · 7 months ago
github-actions[bot] · 7 months ago

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.