claude-code - 💡(How to fix) Fix [BUG] Plugin IntelliJ IDEA no encuentra comando claude-code en macOS (Apple Silicon) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56101Fetched 2026-05-05 05:58:11
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

Error: "Cannot launch Claude Code"

Code Example

Error: "Cannot launch Claude Code"
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

  1. npm install -g @anthropic-ai/claude-code
  2. IntelliJ Settings → Tools → Claude Code [Beta]
  3. Poner: /opt/homebrew/bin/claude-code
  4. Intentar abrir panel Claude
  5. 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.

extent analysis

TL;DR

The issue might be related to the plugin configuration or compatibility with the Apple Silicon architecture, and trying a different installation method or checking the plugin settings could help.

Guidance

  • Verify that the claude-code executable is correctly installed and accessible by checking the output of which claude-code and claude-code --version in the Terminal.
  • Check the IntelliJ IDEA plugin settings to ensure that the correct path to the claude-code executable is provided, and consider trying a different installation method, such as using Homebrew.
  • As GitHub Copilot is working correctly in the same IntelliJ setup, compare the configuration and settings of both plugins to identify any potential differences.
  • Consider reaching out to the plugin developers or checking the plugin's documentation for any known issues or compatibility problems with Apple Silicon architecture.

Example

No code snippet is provided as it's not directly relevant to the issue, but checking the plugin settings and configuration might look like:

IntelliJ Settings → Tools → Claude Code [Beta]

And ensuring the correct path is set:

/opt/homebrew/bin/claude-code

Notes

The issue seems to be specific to the Claude Code plugin in IntelliJ IDEA on macOS Apple Silicon, and more information about the plugin's compatibility and configuration might be necessary to resolve the issue.

Recommendation

Apply workaround: Try a different installation method, such as using Homebrew, and verify the plugin settings to ensure correct configuration, as the issue might be related to the plugin's compatibility with the Apple Silicon architecture.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING