[BUG] Native windows install fails

Resolved 💬 8 comments Opened Jan 14, 2026 by gattimassimo Closed Feb 17, 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?

Context: I have a Surface 7 ARM laptop and latest Windows updates, Powershell.

While I'm not able to install Claude code using Powershell (the claude.exe is not dropped in C:\Users\magatti\.local\bin\claude.exe) I read about multiple issues and workarounds and none of them unblocks, the issue still persists.

Then I switched over to use cmd as documented in the claude code setup steps and I found a bug which blocks the installation. See repro steps.

It seems that if I download the cmd file and run it locally it works, but if I use the one line command it doesn't.

Thanks

What Should Happen?

The setup steps documented on this page should work.

https://code.claude.com/docs/en/quickstart#step-1:-install-claude-code

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Error Messages/Logs

I'd be happy to know how to get some logs, better error messages during the install process.

Steps to Reproduce

`
C:\Users\magatti\claudeDowloadSetup>curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Setting up Claude Code...

Installing Claude Code native build latest...
Installation failed

C:\Users\magatti\claudeDowloadSetup>curl -fsSL https://claude.ai/install.cmd -o install.cmd

C:\Users\magatti\claudeDowloadSetup>install.cmd
Setting up Claude Code...

√ Claude Code successfully installed!

Version: 2.1.7

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

Next: Run claude --help to get started
Warning: Could not remove temporary file: C:\Users\magatti\.claude\downloads\claude-2.1.7-win32-x64.exe

Installation complete!

C:\Users\magatti\claudeDowloadSetup>
`

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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