[BUG] An “Out of Memory” error occurred during installation.

Resolved 💬 2 comments Opened Apr 21, 2026 by kermit-ye Closed May 27, 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 installing Claude Code via PowerShell, the memory usage of the installer keeps spiking without any progress until it hits an OOM (Out of Memory) error.
I've retried multiple times, but the issue persists.

What Should Happen?

When installing Claude Code via PowerShell, the memory usage of the installer keeps spiking without any progress until it hits an OOM (Out of Memory) error.
I've retried multiple times, but the issue persists.

Error Messages/Logs

PS C:\Users\ky87> irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...

✘ Installation failed

Out of memory


Try running with --force to override checks

✅ Installation complete!

Steps to Reproduce

<img width="1070" height="92" alt="Image" src="https://github.com/user-attachments/assets/73444c56-025c-45f8-a586-e1c70040eac6" />

<img width="281" height="77" alt="Image" src="https://github.com/user-attachments/assets/e776b939-94a0-4423-a4d1-b85dfbbeb0c6" />

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.116

Claude Code Version

2.1.116

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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