[BUG] Plugin IntelliJ IDEA no encuentra comando claude-code en macOS (Apple Silicon)
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?
El plugin Claude Code no puede lanzar claude-code aunque el comando funciona en Terminal.
Entorno:
- macOS Apple Silicon
- IntelliJ IDEA 2025.1
- Claude Code 2.1.126
- Node.js v24.10.0
El comando funciona: /opt/homebrew/bin/claude-code --version → 2.1.126
Pero IntelliJ dice: "Cannot launch Claude Code"
Intenté:
- Instalar con npm
- Ruta completa en config
- Abrir IntelliJ desde Terminal
- Reinstalar plugin
Nada funciona.
What Should Happen?
Panel de Claude debería abrirse
Error Messages/Logs
Error: "Cannot launch Claude Code"
Steps to Reproduce
- npm install -g @anthropic-ai/claude-code
- IntelliJ Settings → Tools → Claude Code [Beta]
- Poner: /opt/homebrew/bin/claude-code
- Intentar abrir panel Claude
- Error aparece
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
Never worked (primera vez instalando)
Claude Code Version
2.1.126 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
IntelliJ IDEA 2025.1 en macOS Apple Silicon (ARM64).
El comando claude-code funciona perfectamente en Terminal:
- which claude-code: /opt/homebrew/bin/claude-code
- claude-code --version: 2.1.126 (Claude Code)
Pero el plugin IntelliJ dice "Cannot launch Claude Code" aunque está configurado con la ruta completa.
Intenté:
- Instalar con npm install -g @anthropic-ai/claude-code
- Instalar con Homebrew
- Ruta completa en Settings
- Abrir IntelliJ desde Terminal
- Reinstalar plugin completamente
Nada funciona. GitHub Copilot funciona correctamente en el mismo IntelliJ.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗