[BUG] Claude Code install script reports 32-bit error on 64-bit systems when run without Admin privileges
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 running the installation command irm https://claude.ai/install.ps1 | iex in a standard PowerShell window, the script fails with a terminal error stating that the system is 32-bit. However, the system is confirmed to be 64-bit.
_Processor 13th Gen Intel(R) Core(TM) i9-13900H (2.60 GHz)
Installed RAM 32.0 GB (31.7 GB usable)
System type 64-bit operating system, x64-based processor_
Running the exact same command in a PowerShell (Admin) window resolves the issue and the installation proceeds normally.
What Should Happen?
The script should either:
Detect that it lacks permissions and ask the user to run as Administrator.
Successfully detect the 64-bit architecture regardless of elevation status.
Error Messages/Logs
irm https://claude.ai/install.ps1 | iex
irm https://claude.ai/install.ps1 | iex : Claude Code does not support 32-bit Windows. Please use a 64-bit version of
Windows.
At line:13 char:5
+ Write-Error "Claude Code does not support 32-bit Windows. Please ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
Steps to Reproduce
- Open a standard (non-admin) PowerShell window.
- Run: irm https://claude.ai/install.ps1 | iex
- Observe the error message.
<img width="1136" height="295" alt="Image" src="https://github.com/user-attachments/assets/2b9dd55e-a82b-4955-94b9-76bc5a9b4563" />
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.114
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗