[BUG] PhpStorm plug-in uses wrong shell

Resolved 💬 3 comments Opened Nov 3, 2025 by SturmB Closed Nov 3, 2025

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?

I'm using CachyOS and have set my default shell to Zsh. I recently installed NVM and installed Node with it so that Claude Code could update itself without me manually running sudo npm… This works great on my usual terminal programs.

However, when using the PhpStorm Claude Code [BETA] plugin, it launches Claude Code in a Fish shell. This means that Node isn't loaded from .zshrc and, thus, Claude Code cannot update itself from within the plugin.

This is a defect that needs to be addressed. The PhpStorm plugin should respect the default shell of the operating system, rather than automatically selecting a different one, such as Fish. And since NVM does not support Fish, I cannot simply update a Fish startup script as I can with the .zshrc file.

Please let me know if there are any plans to update the plugin to respect the current OS's default shell.

What Should Happen?

The Claude Code [BETA] plugin for PhpStorm should launch Claude Code in whatever shell is the default set for the operating system.

Error Messages/Logs

n/a

Steps to Reproduce

  1. On CachyOS, change your default shell to Zsh.
  2. Launch the Claude Code [BETA] plug-in on PhpStorm.
  3. See that it is using the Fish shell.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.29 inside PhpStorm, 2.0.31 outside PhpStorm. (!)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗