How to use Bash on Windows as your default terminal in Visual Studio Code or Jetbrains IntelliJ IDEs

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:

C:\Windows\sysnative\bash.exe
Like what you read? Give George Cameron a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.