[BUG] Install silently fails on Windows 11 25H2

Resolved 💬 2 comments Opened Dec 30, 2025 by andrey-savov 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?

Here's a summary for the bug report:

Bug Report: Windows PowerShell Installer Fails Silently

Environment:

  • OS: Windows 11
  • Installation Method: PowerShell (irm https://claude.ai/install.ps1 | iex)
  • Claude Code Version: 2.0.67

Issue:
The PowerShell installer reports successful installation but fails to actually create the claude.exe file in the target directory.

Steps to Reproduce:

  1. Run PowerShell as Administrator
  2. Execute: irm https://claude.ai/install.ps1 | iex
  3. Installation completes with success message: ✔ Claude Code successfully installed! Location: C:\Users\[user]\.local\bin\claude.exe
  4. Check the directory: Test-Path "$env:USERPROFILE\.local\bin\claude.exe" returns False

Expected Behavior:
The claude.exe file should be copied to C:\Users\[user]\.local\bin\claude.exe

Actual Behavior:

  • The .local\bin directory is created successfully
  • The installer reports success and shows the correct installation path
  • Warning message appears: "installMethod is native, but claude command not found at C:\Users\[user]\.local\bin\claude.exe"
  • The claude.exe file is never actually copied to the destination
  • The claude.exe install stable subcommand fails silently to copy itself

Root Cause:
The installer downloads claude.exe to a temporary location, runs claude.exe install stable, which reports success but fails to copy the executable to the final destination.

Workaround:
Manually copy the downloaded installer to the destination:

Copy-Item -Path $downloadPath -Destination "$env:USERPROFILE\.local\bin\claude.exe" -Force

Additional Notes:

  • No errors appear in verbose mode
  • No antivirus/Windows Defender blocks detected
  • Issue occurs even when running as Administrator

What Should Happen?

Should install correctly

Error Messages/Logs

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

Steps to Reproduce

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

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.67

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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