bashpluginsintellij-ideapathinterpreter

How to set bash interpreter path in IntelliJ


I am wondering which path should be set in "Interpreter path" area in Run/Debug Configurations in IntelliJ, to complie and run bash script.

Using IntelliJ 15.0.3 on Windows 7


Solution

  • You must have a shell installed.

    I have Git installed, so I use the path to the git shell.

    Something like C:\Program Files\Git\bin\sh.exe.

    I use also the --login -i flags for the "Interpreter options" field.