How to use PowerShell as default terminal in IntelliJ/PhpStorm/Pycharm/…
-
Open IntelliJ settings.
-
Go to the “Tools” section.
-
Press the “Terminal” option.
-
Set the correct Shell path to the PowerShell EXE file. In the case of Windows 8.1, the path is: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe. You should use the latest PowerShell version available!
-
Create a new terminal session in IntelliJ. Alternatively, you can just restart IntelliJ to apply the changes.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Setup JetBrains(InteliJ, WebStorm, PHPStorm) IDE terminal to use GIT bash
-
File
-
Settings
-
(Enter ‘Terminal’ in search)
Change Shell path to:
"C:\Program Files\Git\bin\sh.exe" --login -i
本条目发布于[2021年5月20日](https://c4ys.com/archives/2579 "14:22")。属于[Tools](https://c4ys.com/archives/category/tools)分类,被贴了 [IDEA](https://c4ys.com/archives/tag/idea) 标签。