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

前端 未结 17 1846
爱一瞬间的悲伤
爱一瞬间的悲伤 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:47

    If you already have "bash", "powershell" and "cmd" CLI's and have correct path settings then switching from one CLI to another can done by the following ways.

    Ctrl + ' : Opens the terminal window with default CLI.

    bash + enter : Switch from your default/current CLI to bash CLI.

    powershell + enter : Switch from your default/current CLI to powershell CLI.

    cmd + enter : Switch from your default/current CLI to cmd CLI.

    VS Code Version I'm using is 1.45.0

提交回复
热议问题