Using Powershell as terminal in IntelliJ IDEA IDEs like PyCharm, PHPStorm or RubyMine

后端 未结 11 1378
太阳男子
太阳男子 2020-12-24 01:53

I have been attempting to run powershell as my terminal on windows in pycharm, so I did the following:

\"enter

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 02:30

    1. I updated the powershell.exe path in IntelliJ -> Settings -> Terminal

    2. Opened a powershell instance in Admin mode.

    3. Executed Set-ExecutionPolicy Unrestricted -Scope CurrentUser

    4. Restarted IntelliJ and the issue was solved.

    Step 3 is from ebelanger's answer.

提交回复
热议问题