Cmder: Run cmder inside IntelliJ idea

Created on 3 Oct 2014  ·  112Comments  ·  Source: cmderdev/cmder

Currently I am running Git bash inside IntelliJ Idea (http://blog.codeleak.pl/2014/02/git-bash-in-intellij-idea-13-on-windows.html). I would like to use cmder but I need to know if I can do the same, and if so, what command line arguments do I need to supply?

Question Guide

Most helpful comment

After the latest security update I have to use quotes for the cmd.exe part:

"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""

All 112 comments

That would be be great for me too. If we could run cmder inside Idea as Terminal

+1

You'll probably need to do something like this:

$CMDER_LOCATION\cmder\vendor\conemu-maximus5\ConEmu.exe /Icon "$CMDER_LOCATION\cmder\icons\cmder.ico" /Title Cmder /LoadCfgFile "$CMDER_LOCATION\cmder\config\ConEmu.xml"

_OR_

C:\Windows\system32\cmd.exe" /k "$CMDER_LOCATION\cmder\vendor\conemu-maximus5\..\init.bat

+1

Holy moly that'd be awesome!!!!

I got it working!

It was pretty simple based on @MartiUK's suggestions above:

  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.
    image
  2. In your IntelliJ terminal settings, use cmd.exe /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.
    image
  3. Et voilà!
    image
    Unfortunately the lambda symbol is not supported in IntelliJ yet, but everything else seems to be working fine.

Awesome! Thank you for figuring this out. Props to @MartiUK and @nikrolls

@nikrolls technique worked for me as well (Thanks!). The only requirement was that I needed to restart IntelliJ for it to work correctly after adjusting the settings. Simply hitting "Apply" and "OK" was not enough.

IntelliJ 15.0.2 displays the lambda symbol.

thank you very much @MartiUK @nikrolls

Nice! Thanks @nikrolls

What about opening mintty with git bash in Intellij? Can you specify the mintty task when doing this?

I have opened git bash in intellij, but the lambda symbol still shows up as ?

When I try @nikrolls suggestion, I get "The system cannot find the path specified."

When I put %CMDER_ROOT% into a windows explorer address bar, it works. I put cmd.exe /k ""%CMDER_ROOT%vendorinit.bat"" as my Shell path in PHPStorm. I start PHPStorm and get "The system cannot find the path specified."

2016-02-18 17_17_53-terminal - x2o-join-eval

@martin-wiseweb Perhaps you forgot to restart ide. I had the same error in IntelliJ. It helped me.

@nikrolls Thanks, man. It works.

Cmder in cmd.exe is a half success as i see...
The best way should be to use cmder in conemu, but it does not embed in PHPstorm currently:/

cmd_vs_conemu

If I missing some configuration or misunderstood something, please correct me.
Thx

@mdesign83 It isn't technically running cmder in IntelliJ, just the initialisation scripts that cmder uses.

Thanks, it working for me

I'm having trouble getting the lambda icon to come up in IntelliJ. Was there any special config or some command flag that needs to be passed to make this available in IntelliJ 2016.1?

After the latest security update I have to use quotes for the cmd.exe part:

"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""

I did something similar by wrapping the whole thing in a bat file and calling that, kind of achieved the same solution, no lamdba sign though :cry:

I get some odd env when I run the cmd.exe

capture

any ideas?

Sean

@born2net I was getting the same issue, but resolved it by using the full cmder install opposed to the mini.

mmm tried full version, having same issue :/
running:

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

@born2net see https://github.com/cmderdev/cmder/issues/223, torresandres' solution - helped in my case on Windows 10

tx @dschulten I see clink is from some foreign site, I am reluctant to use compiled exe due to hidden trojans :(
any other solution? tx for the reply....

@born2net wait until cmder includes the latest clink executable :)

ok tx! I haven't seen new builds from cmder in a while

Tried @nikrolls (and @MIKAGMR tweak) - "The system cannot find the path specified" ;(

I'm on Windows 10, PhpStorm 2016.2.

Does not seem to work. I'm getting a JAVA IO exception: couldn't create PTY. Using PHPstorm 2016.2

Anyone knows a work-around?

PhpStorm 2016.2, work fine for me with this way:

"cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat"

@angelside That's not cmder

@kylescousin I use this. It is cmd.exe via Cmder in PhpStorm, as the lambda prompt can attest in this screenshot;
http://imgur.com/a/nUdrn

Now I'd love to get the same thing working with powershell.exe because Ctrl-R to search through the command history doesn't work with cmd.exe,

Thank you so much! This was the best thing that's happened to me today !

Using IntelliJ 2016.2.2 and got it working with:
"cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat"

Since the last version of Webstorm (2016.3), I must change the command for :
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""
If somebody have the same problem with the update try this.

In my WebStorm 2016.3 I tested all options and no one working.
I tested the last one from @guillaumejparis and no luck.
Everytime I begin WebStorm the Terminal > Project Settings > Shell path is reseted to: cmd.exe

With the today bug fix in Webstorm this problem is now solve.
And "cmd" /k ""%CMDER_ROOT%\vendor\init.bat"" works.

@guillaumejparis I have updated to Webstorm 2016.3.1 and I'm using your command in the settings. It didn't works neither.
The webstorm saves this setting (I restarted several times) and I tested it in a RUN command and it works too, but my webstorm terminal continues with the traditional one.

@gabrielizalo it's a bug in latest WebStorm. Was fixed 3 days ago and waiting for new build for the fix.

Note that you should have ansi_code_support = 1 in config\settings file in order to correctly display ASCII escapes (colors, etc).

Otherwise you'll get this nice prompt:
capture

@guillaumejparis @born2net finally works with the latest Guillaume code in my WebStorm 2016.3.2
Thanks!

C:Windowssystem32cmd.exe" /k "C:cmdervendorinit.bat

This worked for me in IntelliJ 2016.3.4. I have cmder folder on C: drive

It worked for few days and stopped working. I get this error now

Generating clink initial settings in "C:configsettings"
Additional *.lua files in "C:config" are loaded on startup.
The system cannot find the path specified.
Creating initial user-aliases store in "C:configuser-aliases.cmd"...
The system cannot find the path specified.
'"C:configuser-aliases.cmd"' is not recognized as an internal or external command,
operable program or batch file.

And I fixed this by adding this line
set CMDER_ROOT=C:cmder

in the init.bat in folder C:cmdervendorinit.bat
It is working once again!! :-)

How to integrate PowerShell via Cmder with PyCharm?
PS: "cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat"" worked for PyCharm 2016.3.2

And I fixed this by adding this line
set CMDER_ROOT=C:cmder
in the init.bat in folder C:cmdervendorinit.bat
It is working once again!! :-)

it works, thanks

Anyone been able to do "vagrant ssh" with this terminal?

Mine just says the VM is not running, but I can do "vagrant ssh" from the stand alone cmder window in the same directory.

Using IntelliJ 2016.2.2 and got it working with:
"cmd.exe" /k "%CMDER_ROOT%vendorinit.bat"

Got this working on IntelliJ 2017.1

Is it possible to run macros with this? It's working with standalone cmder but on in inside the IntelliJ idea. Im using idea 2017.1.1

Run echo %CMDER_ROOT% from the terminal to see if intellij did pick up the environment variable.
If it didn't, make sure it does. In my case, I had begun to use the Jetbrains toolbox recently, and it has to be restarted to pick up changes to environment variables, which then can be passed on to intellij.
Once intellij sees CMDER_ROOT, there is no need to edit init.bat.

Using 2017.1 I had to use "cmd.exe" /k ""%CMDER_ROOT%"\vendor\init.bat"

This all depends on what your CMDER_ROOT actually is. Cmder's init script does something funky with spaces in the env variable (I think), so if you put your root in c:\Program Files\... you have to include the extra quotes in your ide.

Wow @MartiUK and @nikrolls you guys are awesome! So happy right now this made my week. I didn't have to put double quotes before and after the %CMDER_ROOTvendorinit.bat% but I did have to put quotes around the cmd.exe part. Here is code that worked for me "cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat" . It doesn't load my default CMDER settings so if anybody figures that out I will be eternally grateful . Also Lambda symbol worked for me , it might have to do with the location of my CMDER_ROOT .

Everything seems working, colours are fine with git but composer and symfony commands remain uncoloured. Why is that?

If you use Powershell via Cmder and use the _config/user-profile.ps1_. This will be better:
"cmd.exe" /k powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. '%CMDER_ROOT%\vendor\profile.ps1'''"

It's running
"C:\Windows\System32\cmd.exe" /k "C:\Program Files (x86)\cmder\vendor\init.bat"

My Environment

System Environment Variable

CMDER_ROOT:
systemenv

Setting for Shell path of WebStorm

Shell path: "C:\Windows\System32\cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%\vendor\conemu-maximus5&&Call %CMDER_ROOT%\vendor\init.bat""
shellpath

Final Result

cmder_webstorm

FWIW, also set terminate_autoanswer=1 in
%CMDER_ROOT%\config\settings
to get rid of the Terminate batch job (y/n) prompt in cmder

@AlanJui Thanks! It's work for me.

The following command worked on
Intellij 2017.2
"cmd" /k ""%CMDER_ROOT%\vendor\init.bat""

OS
Windows 7 - Enterprise - 64bit

If you are missing composer (or some other) colors:

https://github.com/composer/composer/issues/5323

@AlanJui
Everything works great for me, despite cmder wont start up in the working directory in WebStorm. Any ideas? It always starts up in my home directory

nevermind, found the solution in pull request.
https://github.com/cmderdev/cmder/pull/1547/files
Just edit %CMDER_ROOT%vendorinit.bat line 154

I get it working in PHPstorm with this

"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""

But any idea how can I get the color scheme. Like for example if I run the laravel artisan the output is in all white. I am on windows 10 using PHP 7.1
screenshot_1

Maybe you can try to use "/k set ConEmuDir=...Cmder\cmder\vendor\conemu-maximus5&&...Cmder\cmder\vendor\init.bat" to get work.

@iLuffy you mean something like this ? Well this is not working.

"cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%\vendor\conemu-maximus5&&%CMDER_ROOT%\vendor\init.bat""

@AlanJui solution worked for me, but i have a char probleme;

image

@fuzz101010
would you try to add call command to call the init.bat to see if it works?
"cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%vendorconemu-maximus5&&Call %CMDER_ROOT%vendorinit.bat""

the font space has some issues

I tried iLuffy suggestion ( thanks! ) but got : 'C:Program' is not recognized as an internal or external command, ( under win10 / install is in "c:Program Files". )

So I resolved it like this ( notice a pair of " is now around %CMDER_ROOT%.

"cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%"vendorconemu-maximus5&&Call %CMDER_ROOT%vendorinit.bat"
Hope this helps.

Command "cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat" can work. However, when I open terminal, the direction would not locate in my project. (It will locate in C;user.) Anyone knows?

@em14Vito
Please follow the solution provided from iLuffy. Change your command to:
"cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%"\vendor\conemu-maximus5&&Call %CMDER_ROOT%\vendor\init.bat"

It work well by using @AlanJui and @phs92 solutions. Thanks a lot :clap:

IntelliJ IDEA 2017.3 (Ultimate Edition)
JRE: 1.8.0_152-release-1024-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
CMDER_ROOT=D:\Program Files\cmder

it not work

"C:\Windows\System32\cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%\vendor\conemu-maximus5&&Call %CMDER_ROOT%\vendor\init.bat""

image

I edit “init.bak”

image

image

image

image

set CMDER_ROOT=D:\Program Files\cmder
set DL=%~d0
set LAST_CD=%cd%

%DL%
cd %LAST_CD%

"C:\Windows\System32\cmd.exe" /k "D:\Program Files\cmder\vendor\init.bat"

@cambalamas I had an error when trying your solution

The string is missing the terminator: '.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

1061

Hey, it works but any idea why it always opens not in the project folder because when I open the terminal it works with cmder but it's navigated in my windows user folder and not in my project location. http://prntscr.com/is6i7u help would be much appreciated.

If your location of cmder isn't constantly changing, just put the absolute path to where ever you have it located and forget all that environment variable crap. This works perfectly well in Webstorm 2018.1.

image

@TheNexusDesigns Ironically I found the perfect solution in the VSCode thread, that points Cmder to the correct project location:

First create a file intellij.bat in your Cmder installation folder, say C:\Dev\cmder\intellij.bat:

@echo off
SET CurrentWorkingDirectory=%CD%
SET CMDER_ROOT=C:\Dev\cmder\ 
CALL "%CMDER_ROOT%\vendor\init.bat"
CD /D %CurrentWorkingDirectory%

In IntelliJ > Settings > Tools > Terminals, fill the Shell path field with:

"cmd.exe" /K "C:/Dev/cmder/intellij.bat"

Note the forward slash /, works for me on Windows 10.

@kentnek This seems to be the same solution listed here:
https://github.com/cmderdev/cmder/issues/1267#issuecomment-370366013

@DRSDavidSoft it's a bit different, as this solution includes a CD command in the new .bat file, which makes sure that Cmder starts up in the project directory.

@kentnek Right, but this issue has been fixed in init.bat in recent versions of Cmder, so no CD should be required here. (Of course, I'd appreciate it if you could verify this with your own installation, just to be sure.)

Windows10 64bit
Intellij IDEA - community

  1. add environment variables
    CMDER_ROOT
    c:cmder
    176

  2. config terminal setting
    175
    "cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat"

DONE!
174

Maybe this fix will help to someone, who has issues with PyCharm and virtualenv activation.

"cmd.exe" /k "%CMDER_ROOT%\vendor\init.bat&&%VIRTUAL_ENV%\Scripts\activate.bat"

I also commented this block in activate.bat - without commenting it cmder unix tools stopped to work

:: if defined _OLD_VIRTUAL_PATH (
::     set "PATH=%_OLD_VIRTUAL_PATH%"
:: ) else (
::     set "_OLD_VIRTUAL_PATH=%PATH%"
:: )

I tried Ansicon, which works for a regular cmd.exe. cmder (ConEmu), however, blocks it from running.

When Ansicon is installed for cmd.exe and PhpStorm is using the recommended "cmd.exe" /K "%CMDER_ROOT%\vendor\init.bat", it just crashes.

Running Windows 7. I just really want to use Cmder and still see those colours from Composer, and any other PHP console app for that matter. I don't think it's possible though.

@kentnek it works for win10
cmdervendorinit.bat
add -
@echo off
SET CurrentWorkingDirectory=%CD%
:: Init Script for cmd.exe
:: Created as part of cmder project

CD /D %CurrentWorkingDirectory%
exit /b

::
:: sub-routines below here
::

pycharm
"cmd.exe" /k ""%CMDER_ROOT%vendorinit.bat""

Good day! is there a way how to fix this strange output in Phpstorm terminal? I'm using cmder.

λ php artisan tinker
?[34mPsy Shell v0.7.2 (PHP 7.0.13 ΓÇö cli) by Justin Hileman?[39m

$p= AppStatus::all()
=> ?[34;4mIlluminateDatabaseEloquentCollection?[39;24m {#1731
?[34mall?[39m: [
?[34;4mAppStatus?[39;24m {#1732
?[34mid?[39m: ?[35m1?[39m,
?[34mstatus?[39m: "?[32mAdded?[39m",
?[34mdescription?[39m: "?[32mAdded to cart but not purchase yet?[39m",

Side note, if you want to display debug information, for example if you use @debug in sass, you need to enable verbose mode.
The shell path should look like this:
"C:\Windows\System32\cmd.exe" /k set ConEmuDir=""%CMDER_ROOT%\vendor\conemu-maximus5&&Call %CMDER_ROOT%\vendor\init.bat"" verbose-output 1

This one worked for me:

"cmd.exe" /k set CMDER_ROOT=D:\Program Files\cmder&&set ConEmuDir=%CMDER_ROOT%\vendor\conemu-maximus5&&call "%CMDER_ROOT%\vendor\init.bat"

How do i set what task to use?, when i use C:\Tools\Cmder\cmder_shell.bat i get CMD but my default in cmder/ConEmu is Fish (using msys2)

cmder_shell.bat:

@cmd.exe /k %0\..\vendor\init.bat

@Peter-Optiway : I created a bash.bat with the following content and set the Shell path to"cmd.exe" /k "%CMDER_ROOT%\bash.bat":

@echo off
CALL cmd /c ""%CMDER_ROOT%\vendor\git-for-windows\bin\bash" --login -i"

I assume replacing the last line with the appropriate command from the relevant Task in Cmder (or ConEmu) settings will do the job, but I welcome any corrections!

@david-learner That worked out for me in Windows 10 with an additional quotes

"cmd.exe" /k ""%CMDER_ROOT%vendorinit.bat""

Does anyone know how to use PowerShell Cmder task in JetBrains IDEs? Here is the instruction for VSCode https://github.com/cmderdev/cmder/wiki/Seamless-VS-Code-Integration#use-powershell-instead-of-cmdexe, but I didn't know how to pass this parameters to Rider terminal settings.

Just as a heads up, I didn't have to use any hacks, environment variables, etc.... I just pointed the shell path to [cmder path]/vendor/git-for-windows/bin/bash.exe.

Everything seems to be working correctly and even the lambda shows up correctly

can confirm @mathewjustin s way works with the CMDer mini version in 2019.1 EAP via
"cmd.exe" /k "C:\Program Files (x86)\cmder_mini\vendor\init.bat"

@beta-tank, I use the following for PowerShell Cmder:

"pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:\\tools\\cmdermini\\vendor\\profile.ps1'

In my case the %% path didnt work, used hardcoded and its working, thanks

"pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:\\tools\\cmdermini\\vendor\\profile.ps1'

@kczelusniak
I had to modify the above one as per my requirement as given below

"pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:\Users\C5269983\OneDrive - SAP SEPRAJOTH\SOFTWARES\Cmder\vendor\profile.ps1'

But it throws the below error.

Cannot open Local Terminal
Failed to start ["pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -

"pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:\\tools\\cmdermini\\vendor\\profile.ps1'

@kczelusniak
I had to modify the above one as per my requirement as given below

"pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:UsersC5269983OneDrive - SAP SEPRAJOTHSOFTWARESCmdervendorprofile.ps1'

But it throws the below error.

Cannot open Local Terminal
Failed to start ["pwsh.exe" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -

Finally, it's working with the below changes.
"powershell" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'C:\Users\C5269983\OneDrive - SAP SEPRAJOTH\SOFTWARES\Cmder\vendor\profile.ps1'

Thanks a lot @kczelusniak

Hello,

In my case, creating a Environment Variable CMDER_ROOT wasn't working. I managed to make it work by setting the CMDER_ROOT directly in PyCharm (D:\Valentin\Logiciels\Cmder for me) :

image

Hope it helps

can confirm @mathewjustin s way works with the CMDer mini version in 2019.1 EAP via
"cmd.exe" /k "C:\Program Files (x86)\cmder_mini\vendor\init.bat"

This also worked for me - tried everything else but this did the job. I'm using the Full version of Cmder.

The instructions at https://github.com/cmderdev/cmder/wiki/Seamless-IntelliJ-based-Integration no longer work with 2020.1, you have to use the full path to cmder_shell.bat and put it in double quotes now. The expansion of %CMDER_ROOT% no longer seems to work.

"C:\Program Files\cmder\cmder_shell.bat"

No variable expansion with the classic solution either, now it has to be:

"cmd.exe" /k ""C:\Program Files\cmder\vendor\init.bat""

OR FOR POWERSHELL
"powershell" -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . 'pathToCmder\Cmder\vendor\profile.ps1'

Hello, all works
But how to change color theme of included cmder? from monokai to tomorrow theme. Because i use light theme in phpstorm

@lamoed in IntelliJ? There is no Cmder theme. Themes are a part of Conemu.

@lamoed in IntelliJ? There is no Cmder theme. Themes are a part of Conemu.

Yes, if i writed cmd.exe /k ""%CMDER_ROOT%vendorinit.bat"" maybe i could setup color scheme of conemu here?

But you are not running Conemu. 'init.bat' is the cmder init script. Normally by default it runs in Conemu but you are running Cmder inside IntelliJ. There is no theme unless the IntelliJ console is themeable.

Hello, all works
But how to change color theme of included cmder? from monokai to tomorrow theme. Because i use light theme in phpstorm

@lamoed in IntelliJ? There is no Cmder theme. Themes are a part of Conemu.

But you are not running Conemu. 'init.bat' is the cmder init script. Normally by default it runs in Conemu but you are running Cmder inside IntelliJ. There is no theme unless the IntelliJ console is themeable.

  1. Download this plugin for your Jetbrains IDE: TERMINAL COLORS
  2. Get different Terminal color profile from this website --> https://terminal.sexy/
  3. You can also get configured iTerm2 color profiles here --> https://iterm2colorschemes.com/
  4. Follow the guidelines on how to set the terminal color through a color profile you downloaded
    -- see screenshot below on how to navigate

Screenshot: Terminal Colors setting

Themes are a part of Conemu. You are not using Conemu when integrated with IntelliJ Idea. Color of the shell would come from IntelliJ Idea I assume.

Themes are a part of Conemu. You are not using Conemu when integrated with IntelliJ Idea. Color of the shell would come from IntelliJ Idea I assume.

I just gave an example on how it is easy to get a theme configured (iTerm2 color profile) for the Conemu terminal in Jetbrains. Everything works perfectly if the guideline is being followed.

when i run
CTRL + L
only lamda remain in terminal other part gone outside terminal window
is there any solution for that
one
two

problem when i will be playing with github.
can i tweak it like bash shell so everything will be in lamda line not above ?

Tried this and had an error C:\Program is not recognized as an internal or external command operable program or batch file.
So I guess the "space" character in "Program Files" was messing with the script.

Following this SO post, I changed the CMDER_ROOT environment variable from: C:\Program Files\cmder to C:\PROGRA~1\cmder and it works :)

So full process for PHPStorm 2020.2 on windows:

  • install cmder
  • Create the environment variable CMDER_ROOT with the cmder path as the value

    • if you have the same issue as me, use C:\PROGRA~1\cmder instead of C:\Program Files\cmder, or C:\PROGRA~2\cmder instead of C:\Program Files (x86)\cmder

  • Edit PHPStorm settings Tools>Terminal>Shell path to cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat""
  • restart PHPstorm

The Installation instructions recommend against putting Cmder in the C:\program files* folders. There is user specific config in Cmder and thus the best and recommended place for it is in a folder inside a users home folder.

In case it helps anyone: I had to specify the full path to cmd.exe, like this:
"C:\Windows\System32\cmd.exe" /k "C:\cmder\vendor\init.bat"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisrudge picture luisrudge  ·  3Comments

isnullxbh picture isnullxbh  ·  3Comments

zsedcbm picture zsedcbm  ·  3Comments

brunowego picture brunowego  ·  3Comments

giuliannosbrugnera picture giuliannosbrugnera  ·  3Comments