You can use PowerShell to run PhpStorm’s terminal. First change execution policies like explained here, then put powershell.exe as the shell path under Tools Terminals in PhpStorm’s settings. Side note: Windows 10 comes with PSReadLine which improves command line editing. Windows Bash Use bash instead of cmd Intellij/Android Studio/WebStorm/PHPStorm Tiger Fok / April 12, 2017 July 1, 2017 / Programming If you love bash & Linux command but forced to use Windows for development, you will love this trick. Try starting PHPStorm by running phpstorm in your terminal. As I'm lazy, I added the following alias to.bashrc: alias storm='phpstorm /dev/null 2&1 &' 7. Install inotify for PHPStorm file watchers. PHPStorm will probably complain about file sync being slow when you start it - that's because we did not install inotify yet, which PHPStorm can.
Browse to the PowerShell executable, right-click, run as administrator.
From the prompt, use the same command you tried:
Once that is done, close PowerShell, and attempt to use it again from your application.
Note:You can't set the execution policy from a script, as the default execution policy prevents you from running scripts. (even if it's the profile script - still a script)
Phpstorm Powershell Tutorial
open terminal in intellij, Alternatively, you can right-click any file (for example, in the Project tool window or any open tab) and select Open in Terminal from the context menu to open the Terminal tool window with a new session in the directory of that file. Start a new session. Click on the toolbar to start a new session in a separate tab. Alternatively, you can right-click any file (for example, in the Project tool window or any open tab) and select Open in Terminal from the context menu to open the Terminal tool window with a new session in the directory of that file. Start a new session. Click on the toolbar to start a new session in a separate tab.