[BUG] Windows native install script succeeded without creating claude.exe

Resolved 💬 3 comments Opened Dec 30, 2025 by hatsune-miku Closed Dec 30, 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?

After running this command to install CC

irm https://claude.ai/install.ps1 | iex

I got

✔ Claude Code successfully installed!

  Version: 2.0.67

  Location: C:\Users\miku\.local\bin\claude.exe


  Next: Run claude --help to get started

⚠ Setup notes:
  • installMethod is native, but claude command not found at C:\Users\miku\.local\bin\claude.exe


✅ Installation complete!

However

  • There isn't claude.exe on my device,
  • ~/.local/bin is an empty folder,
  • And as a consequence, my terminal reported claude is not a valid command.

What Should Happen?

~/.local/bin/claude.exe should exist, as the install script printed "Claude Code successfully installed!".

Error Messages/Logs

Steps to Reproduce

  • Open PowerShell
  • Run irm https://claude.ai/install.ps1 | iex
  • Get success mesesage
  • claude.exe does not exist

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

N/A

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • Windows 11, 25H2
  • Probably not permission problem, because I didn't see obvious permission corruption in my filesystem - I deleted the entire ~/.local folder and the problem persists - the install script recreated ~/.local and many descendants were successfully created except claude.exe
  • npm method works
  • Running with Administrator privileges does not help
  • My case is different from "claude.exe exists, but 0 kb" - mine is "claude.exe was never created".

<img width="1730" height="727" alt="Image" src="https://github.com/user-attachments/assets/7758a8fa-86dd-4344-8c97-a4a0ca8cb4b0" />

View original on GitHub ↗

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