[BUG] Native install create zero bytes claude.exe
Status Closed — not planned
Maintainer reply None cached
Activity 7 comments · opened Oct 10, 2025 · closed Jan 22, 2026
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?
When I try to install:
PS C:\Windows\System32> irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...
✔ Claude Code successfully installed!
Version: 2.0.13
Location: C:\Users\Maxence\.local\bin\claude.exe
Next: Run claude --help to get started
✅ Installation complete!
PS C:\Windows\System32> Get-ChildItem -Path "C:\Users\Maxence\.local\bin\claude.exe"
Directory: C:\Users\Maxence\.local\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 10/10/2025 09:24 0 claude.exe
What Should Happen?
The PowerShell script should have updated claude.exe, but it create a zero length file.
Error Messages/Logs
Steps to Reproduce
Just run the install command line on a Windows platform
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.13
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
7 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Similar thing happened to me at work this morning when i ran claude upgrade in PowerShell. I had to rerun the PS install to fix it
I'm seeing this where it is not creating the final claude.exe at all (not 0KB, just not present.) Installation reports success.
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.
& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) latest
this worked for me in powershell
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
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.