[BUG] cursor IDE opens for no reason when using claude on terminal on 1.0.31

Status Fixed / completed
Maintainer reply None cached
Activity 6 comments · opened Jun 21, 2025 · closed Jun 21, 2025

Environment

  • Platform (select one):
  • [ x ] Anthropic API
  • Claude CLI version: 1.0.31 (Claude Code)
  • Operating System: Linux
  • Terminal: Konsole

Bug Description

Bug happens on latest version, but didn't use to. Whenever I open claude in Konsole, cursor opens in a new window, not even in same folder I was, so not sure what was supposed to happen.

View original on GitHub ↗

6 Comments

clapbr · 1 year ago

It's a Cursor bug: claude calls cursor --version, but official Cursor AppImage for Linux is not correctly passing arguments.

Claude could workaround it but ideally it should be fixed there, so closing this.

thesamet · 1 year ago

Can Claude have an option to not try running IDEs? It's a bit odd that it does runs programs on the machine without asking the user.

beala · 1 year ago

I understand this is not, strictly speaking, a bug in claude-code, but debugging this made me feel like I was taking crazy pills. So perhaps there's an argument that some sort of workaround would be nonetheless worth it to improve the user experience.

Another thought is: Why is claude testing the version of cursor on startup? Perhaps this should be delayed until I run /install-ide-integrations or whatever it's called. Triggering this bug then would at least be much less surprising.

veglavas · 1 year ago
It's a Cursor bug: claude calls cursor --version, but official Cursor AppImage for Linux is not correctly passing arguments. Claude could workaround it but ideally it should be fixed there, so closing this.

If this is so, then cursor --version should open Cursor when called in the terminal, no?
This doesn't happen.

clapbr · 1 year ago
This doesn't happen.

For me, it does.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.