[BUG] Native install create zero bytes claude.exe

Resolved 💬 7 comments Opened Oct 10, 2025 by mdelanno 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_

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗