claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[DOCS] Install on Windows via winget command instead of PS1 install script

Open ericgl opened this issue 2 months ago • 2 comments

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

ericgl avatar Nov 13 '25 18:11 ericgl

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.

github-actions[bot] avatar Dec 14 '25 10:12 github-actions[bot]

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'

woutervh avatar Dec 25 '25 17:12 woutervh

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.

denelon avatar Jan 09 '26 18:01 denelon