Skip to content

Instantly share code, notes, and snippets.

@sadikaya
Created November 28, 2016 06:52
Show Gist options
  • Save sadikaya/cd2e446cd1aa124c61cfbae982b7455b to your computer and use it in GitHub Desktop.
Save sadikaya/cd2e446cd1aa124c61cfbae982b7455b 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.
@zayzou
Copy link

zayzou commented Jan 24, 2022

Thanks a lot 😄

@SinvalMAO
Copy link

SinvalMAO commented Oct 8, 2023

Tanks man, you saved my day

@Raphsuntei
Copy link

"cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"

this works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment