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

后端 未结 11 1324
太阳男子
太阳男子 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:38
    Set-ExecutionPolicy Unrestricted -Scope CurrentUser
    
    0 讨论(0)
  • 2020-12-24 02:42

    You only need to write powershell in the Shell path input, just like in the image, also you can see jetBrains documentation and configure any shell you want. powershell configuration

    0 讨论(0)
  • 2020-12-24 02:44

    If you're running on Windows 8 x64 then running both the commands below may help. It worked for me.

    Set-ExecutionPolicy Unrestricted
    start-job { Set-ExecutionPolicy Unrestricted -Force } -RunAs32
    

    Credit to a comment found here: Powershell on Windows 7: Set-ExecutionPolicy for regular users

    0 讨论(0)
  • 2020-12-24 02:45

    In the Default Shell TextBox you can append the execution policy command line option like so:

    powershell.exe -Executionpolicy Unrestricted

    0 讨论(0)
  • 2020-12-24 02:46

    For WebStorm and PowerShell 6+ on Windows 10. Just follow this screenshot and change the default cmd.exe to pwsh.exe from settings. Finally restart the ide. Done!

    0 讨论(0)
提交回复
热议问题