Skip to content

Instantly share code, notes, and snippets.

@m4tlch
Forked from sadikaya/cmder-in-webstorm.md
Created July 8, 2022 11:33
Show Gist options
  • Save m4tlch/d6ab2f12e73fda0517677f6df37e9410 to your computer and use it in GitHub Desktop.
Save m4tlch/d6ab2f12e73fda0517677f6df37e9410 to your computer and use it in GitHub Desktop.
Cmder inside Webstorm terminal
  1. Set an environment variable called CMDER_ROOT to your root Cmder folder (in my case C:\Program Files (x86)\Cmder). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script.
  2. In your IntelliJ terminal settings, use "cmd" /k ""%CMDER_ROOT%\vendor\init.bat"" as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment