claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] JetBrains plugin does not find my mise-installed claude-code

Open nertzy opened this issue 7 months ago • 4 comments

Environment

  • Platform (select one):
    • [ ] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [x] Other: Claude Code JetBrains plugin
  • Claude CLI version: 1.0.0 (Claude Code)
  • Operating System: macOS 15.5 (24F74)
  • Terminal: kitty

Bug Description

I installed the claude executable into my mise-managed node installation. The JetBrains plugin (running in RubyMine) always shows the following:

Image

Steps to Reproduce

  1. Set up mise on a Mac.
  2. mise use node@latest
  3. npm install -g @anthropic-ai/claude-code
  4. claude --version (works)
  5. Install Claude Code [Beta] plugin in RubyMine
  6. Restart RubyMine to load the plugin
  7. Press Cmd-Esc to activate Claude Code

Expected Behavior

The plugin should work, or at least have some configuration setting where I can set the location of the command.

Actual Behavior

The plugin cannot find my claude executable.

Additional Context

~ ❱ /usr/local/bin/claude --version
1.0.0 (Claude Code)
~ 1.6s ❱ which claude
/Users/grant/.local/share/mise/installs/node/24.0.2/bin/claude
~ ❱ claude --version
1.0.0 (Claude Code)
~ 5.2s ❱ node --version
v24.0.2
~ ❱ which node
/Users/grant/.local/share/mise/installs/node/24.0.2/bin/node
~ ❱ which claude
/Users/grant/.local/share/mise/installs/node/24.0.2/bin/claude
~ ❱ ln -s ~/.local/share/mise/shims/claude /usr/local/bin/claude
~ ❱ /usr/local/bin/claude --version
1.0.0 (Claude Code)

nertzy avatar May 22 '25 17:05 nertzy

Thanks for the report, let me take a look!

hackyon-anthropic avatar May 22 '25 17:05 hackyon-anthropic

I had the same issue, and solved it with these steps:

  • which claude -> returned /home/antoine/.npm-global/bin/claude
  • sudo ln -s /home/antoine/.npm-global/bin/claude /usr/local/bin (thank you @nertzy for this)
  • restart JetBrains (mandatory)

antmonnier avatar May 23 '25 09:05 antmonnier

We have reworked the notification logic in the latest 0.1.6-beta update of the plugin. When you get a chance, please give it a spin and see if this issue is still happening for you!

hackyon-anthropic avatar May 30 '25 16:05 hackyon-anthropic

With the latest plugin update v0.1.6-beta, we have reworked the notification to show up 10s after you press the button and there's been no active connection.

We also included a setting (in Settings > Tools > Claude Code [Beta]) to allow you to specify a custom Claude command to run for the Claude button.

Please let us know if you still see any issues with the latest update!

Image

hackyon-anthropic avatar May 31 '25 10:05 hackyon-anthropic

Should be resolved now but please reopen if not!

igorkofman avatar Jun 03 '25 16:06 igorkofman

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.

github-actions[bot] avatar Aug 13 '25 14:08 github-actions[bot]