logo

How to Change the Default Terminal in VS Code with Ctrl+Shift+C 📂Programing

How to Change the Default Terminal in VS Code with Ctrl+Shift+C

Guide

In Visual Studio Code, you can press Ctrl + Shift + C to bring up the terminal window. This is a feature that ends up being used quite often for various tests and reasons, but more often than not, you might want to use powershell or windows terminal instead of cmd.


Step 1.

20210922_211725.png

Open the settings window by going to File/Preferences/Setting or pressing Ctrl+,.


Step 2. External: Windows Exec

20210922_211829.png

Find External: Windows Exec1. The path listed here is the path to the terminal that will be executed. Depending on the terminal you want to use, you can change it to the following paths2:

  • For powershell: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
  • For windows terminal: %LocalAppData%\Microsoft\WindowsApps\wt.exe

Environment

  • OS: Windows
  • VS Code: 1.60.1