How to use PowerShell in IntelliJ Idea terminal instead of cmd

IntelliJ Idea has support for embedded terminal. That’s handy because you do not need to open extra window just for a terminal.

The default configuration of IntelliJ on Windows is installed with old-school cmd.exe. It’s quite easy to replace it by PowerShell.

Go to Settings (Ctrl+Alt+S). Search for word “terminal“. Select Tools – Terminal.

Change Shell path option from cmd.exe to

C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe

Press OK and start new Terminal window.

I recommend to use Dracula theme which is a little bit more readable than the white theme.

18. May 2017 at 20:38 - Software engineering (Tags: , , ). Both comments and pings are currently closed.

0 0 votes
Article Rating
1 Comment
Inline Feedbacks
View all comments
Enver Osmanov
6 years ago

I just changed to simple “powershell.exe”, not full path. (Windows 10)