[BUG] Claude Code doesn't detect Cursor IDE on Linux
Resolved 💬 6 comments Opened Jun 4, 2025 by lukyncze Closed Jun 25, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: v1.0.10
- Operating System: Ubuntu 22.04
- Terminal: Cursor integrated terminal
Bug Description
Claude Code doesn't detect that the IDE is cursor
Steps to Reproduce
- Open Cursor IDE
- Run
claudein the integrated terminal - Check
/ide
Expected Behavior
I expect Claude to detect that I'm using Cursor.
Actual Behavior
Output from the /status command:
IDE Integration • /config
⚠ Error installing Cursor extension: 1: 1 [139092:0604/103908.228059:ERROR:ozone_platform_x11.cc(246)] Missing X server or $DISPLAY
[139092:0604/103908.228242:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
Please restart your IDE and try again.
Output from the /ide command:
Select IDE │
│ Connect to an IDE for integrated development features. │
│ │
│ No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running.
Additional Context
Using Cursor version 0.50.5
Output from the /doctor command:
You are running Claude Code from your local installation (~/.claude/local). This installation method does not depend on global npm permissions.
Tried this, but without any success.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗