[BUG] claude code starts cursor ide
Resolved 💬 7 comments Opened Jun 24, 2025 by thesamet Closed Jan 6, 2026
Environment
- Platform (select one):
- Claude CLI version: 1.0.30
- Operating System: NixOS
- Terminal: kitty, alacritty, xterm
Bug Description
When I start claude via the command line, it opens claude, and gives me the prompt as expected. However, it always launches cursor the IDE on a new window. I have no idea why it does that. I currently use cursor. This happen within any directory I am starting claude from
Steps to Reproduce
- Open a terminal.
- Start claude
- Claude starts in a terminal, opens Cursor in a new window
Expected Behavior
Claude code starts in the terminal and waits for user input.
Actual Behavior
Cursor is opened in the background, focus switches to it.
Additional Context
I tried installing cursor via npm, via migration, and through nix package manager. Behavior is the same. I also deleted ~/.claude.json and ~/.claude directory.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗