How to use Bash on Windows as your default terminal in Visual Studio Code or Jetbrains IntelliJ IDEs George Cameron Follow Aug 5, 2016 · 1 min read

In Visual Studio Code add this in your User Settings:

“terminal.integrated.shell.windows”: “C:\\Windows\\sysnative\\bash.exe”,

In PHPStorm / Webstorm / Any other IntelliJ IDE:

Within your Settings->Tools->Shell Path

replace cmd.exe with: