How do I use Bash on Windows from the Visual Studio Code integrated terminal?

前端 未结 17 1837
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 00:28

Visual Studio Code on Windows uses PowerShell by default as the integrated terminal. If you want to use Bash from Visual Studio Code, what steps should be followed?

17条回答
  •  [愿得一人]
    2020-11-28 00:37

    Press and hold Ctrl + ` to open the terminal. Inside the terminal, type bash to use Git Bash in the terminal. Note: Make sure you have Git Bash installed on your machine.

    If you wish to use PowerShell again, just type powershell in the terminal. To use the Windows command line, type cmd in the terminal.

    The setting you choose will be used as your default.

提交回复
热议问题