[BUG] Claude Code and Claude Desktop name collision
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?
I had 3 claude components - Claude Code, Claude Desktop, Claude VS extension. I upgraded to Pro version, reinstalled Claude Desktop to get Cowork feature. This broke Claude Code CLI. Problem is both desktop and Code versions are called "claude".
Steps I took to come to this point:
- Upgraded Claude Desktop from https://downloads.claude.ai/releases/win32/ClaudeSetup.exe
- <post issue discovery> Deleted claude.exe at HOME\.local\bin
- Did Claude Code native install: Win Powershell "irm https://claude.ai/install.ps1 | iex"
- Claude Code version is "2.1.41".
- Powershell: 'where.exe claude' gives:
"User Home"\AppData\Local\Microsoft\WindowsApps\Claude.exe
"User Home"\.local\bin\claude.exe
As you can see, Desktop and Code are both using "claude". I will be renaming to "claude-code" to make this work.
What Should Happen?
Expected behavior is both teams need to resolve naming ASAP.
Error Messages/Logs
PS C:\Users\myaccount> where.exe claude
C:\Users\myaccount\AppData\Local\Microsoft\WindowsApps\Claude.exe
C:\Users\myaccount\.local\bin\claude.exe
Steps to Reproduce
Install latest Claude Desktop
Install latest Claude Code
Try to make both work!
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.39
Claude Code Version
2.1.41
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗