I think that the Git bash is the best bash emulation these days for Windows platform. As a Linux fan I prefer use bash and the unix tools like ls, grep, cat, vim, etc.
I’ve been using it for a long time configuring it in Console2. But recently I discover that is also possible and really easy to use it from WebStorm or other JetBrains IDE.
Using WebStorm 9 go to the Terminal preferences in “File > Settings > Tools > Terminal”
and change the Shell path to:
“C:\Program Files (x86)\Git\bin\sh.exe” –login -i
Enjoy 😉
Advertisements
This doesn’t work with Git-2.5.2.2-64-bit and last version for webstorm
Here is the working path:
C:\Program Files (x86)\Git\bin\sh.exe -login -i
here is the last version :
“C:\Program Files\Git\git-cmd.exe” –no-cd –command=usr/bin/bash.exe -l -i
Thanks! This is awesome.
While adding git bash to WebStorm using your last version path ,I get an error that it can’t open the local terminal with a message saying ‘java.io.IOException: Couldn’t create PTY’. Can you help with this?
http://stackoverflow.com/questions/30090800/how-to-open-a-terminal-on-webstorm
Nailed It! Thanks a lot man!
Worked. Thanks a lot man!!
what about Mac OSX?
….like….you’re already running Bash by default in a Mac terminal lol.
like…. maybe they prefer having it integrated inside their ide lol
@dynamic beige – Collin’s point is that WebStorm will use the default OS shell unless you make changes to these settings. Therefore WebStorm will default to using Bash on OS X inside their ide.