[BUG] Claude Desktop opening when running "claude" in Powershell ( Windows )
Open 💬 8 comments Opened Feb 11, 2026 by chriswingler
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 typing claude in the command line on Windows, the claude code cli no longer opens. Instead I get:
(node:11048) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `Claude --trace-deprecation ...` to show where the warning was created)
And it opens Claude Desktop instead.
This just starting happening after installing Cowork for Windows.
What Should Happen?
Claude Code should successfully open its TUI interface. Claude Cowork / Desktop should not open.
Error Messages/Logs
(node:11048) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `Claude --trace-deprecation ...` to show where the warning was created)
Steps to Reproduce
- Download Claude Cowork for Windows
- Type "claude" in Powershell
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.39
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗