[BUG] Claude Code not installing

Resolved 💬 3 comments Opened Jan 5, 2026 by coding-red-panda Closed Jan 5, 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 I run the script as advertised on the home page, it attempts to install Claude Code, but nothing is being installed.

Documentation: https://claude.com/product/claude-code
Script: irm https://claude.ai/install.ps1 | iex

The location C:\Users\<username>\.local\bin is empty.

What Should Happen?

  • claude.exe should be installed at C:\Users\<username>\.local\bin

Error Messages/Logs

No errors, this is the output from the command:


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

√ Claude Code successfully installed!

  Version: 2.0.67

  Location: C:\Users\<username>\.local\bin\claude.exe


  Next: Run claude --help to get started

‼ Setup notes:
  • installMethod is native, but claude command not found at C:\Users\<username>\.local\bin\claude.exe
  • Native installation exists but C:\Users\<username>\.local\bin is not in your PATH. Add it by opening: System
  Properties → Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.


✅ Installation complete!

Steps to Reproduce

  1. Run the script in Powershell
  2. Wait for it to complete
  3. Check the install path

Claude Model

Sonnet (default)

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

Windows Terminal

Additional Information

I do not have any antivirus or special scanners installed, this is a clean Windows system with WSL2 and Docker.

View original on GitHub ↗

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