Skip to content

Seamless IntelliJ based Integration

David Refoua edited this page Oct 26, 2023 · 6 revisions

Android Studio, PHPStorm and other IntelliJ-based IDEs

To run Cmder as any IntelliJ-based IDEs, you may follow these steps:

  1. Make sure that the CMDER_ROOT environment variable is set to the correct path.

    👉Note: Also make sure you have updated your Cmder installation to the latest version.
    The following file should exist: [cmder_root]\vendor\bin\cmder_shell.cmd

  2. In your IDE environment, press Ctrl + Alt + S and type terminal in the search box.

  3. In the Shell path, change cmd.exe to one of the following:
    cmd.exe /k "%CMDER_ROOT%\vendor\bin\cmder_shell.cmd"

    Cmder_IntelliJ

    If you prefer to use PowerShell edition of Cmder, enter this instead:

    cmd.exe /c %SystemRoot%/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%CMDER_ROOT%/vendor/profile.ps1'''"
    
  4. Press Alt + F12 to open the IDE's terminal with Cmder.

For more information/issues and a demo, read our guide here and here.