[BUG] Installing native binary via PowerShell script installs 0KB claude.exe
Resolved 💬 9 comments Opened Oct 9, 2025 by GSonofNun Closed Oct 10, 2025
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?
Claude updated itself to 2.0.12 then 2.0.13 and now when I try to run "claude" I get :
Program 'claude.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1
+ claude
+ ~~~~~~.
At line:1 char:1
+ claude
+ ~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : NativeCommandFailed
Looking in the install directory ([UserProfile]\.local\bin there is a claude.exe file that is 0KB in size
I tried installing directly from provided powershell script and get the same result
What Should Happen?
Claude should install correctly and be accessible via "claude" command without error
Error Messages/Logs
Steps to Reproduce
- Run
irm https://claude.ai/install.ps1 | iexin PowerShell - Run
claude - Fails
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.11
Claude Code Version
2.0.13
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗