依次打开 file > settings > tools > Terminal 修改此处 shell path 找到你安装的git下的bin\bash.exe,确认,重启idea即可。 效果图 windows下也可以愉快玩耍了