[BUG] Powershell Native Install does not copy claude.exe
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 ran the script, it created a bunch of files in .local/ and .claude/, but not claude.exe anywhere.
What Should Happen?
The script should install the latest version of claude.exe
Error Messages/Logs
PS C:\Users\peter> irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...
✔ Claude Code successfully installed!
Version: 2.0.67
Location: C:\Users\peter\.local\bin\claude.exe
Next: Run claude --help to get started
⚠ Setup notes:
• installMethod is native, but claude command not found at C:\Users\peter\.local\bin\claude.exe
• Native installation exists but C:\Users\peter\.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!
PS C:\Users\peter> Get-ChildItem -Recurse -Filter claude.exe $env:LOCALAPPDATA | Select-Object FullName
PS C:\Users\peter> Get-ChildItem -Recurse -Filter claude.exe $env:USERPROFILE
PS C:\Users\peter>
Steps to Reproduce
PS C:\Users\peter> irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...
✔ Claude Code successfully installed!
Version: 2.0.67
Location: C:\Users\peter\.local\bin\claude.exe
Next: Run claude --help to get started
⚠ Setup notes:
• installMethod is native, but claude command not found at C:\Users\peter\.local\bin\claude.exe
• Native installation exists but C:\Users\peter\.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!
PS C:\Users\peter> Get-ChildItem -Recurse -Filter claude.exe $env:LOCALAPPDATA | Select-Object FullName
PS C:\Users\peter> Get-ChildItem -Recurse -Filter claude.exe $env:USERPROFILE
PS C:\Users\peter>
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
same as Issue 9445, but it is back at least as of 2.0.67
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗