How to set bash interpreter path in IntelliJ
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.
If you want to use the Windows CMD.exe you have to set:
- Interpreter path:
C:\WINDOWS\system32\CMD.exe
(or wherever your cmd.exe is located) - Interpreter options:
/C
- Working directory:
path/to/your/project
in the IntelliJ run config.
(Tested with IntelliJ 2017.3)