How To: Set Default Terminal In VS Code

Overview

By default Visual Studio Code will open a PowerShell session when you launch a new terminal window. But what if you want something else instead?

Well you’re in luck because in this article I’ll show you how you can easily change the default shell in Visual Studio Code.

VS Code Icon

Solution

  1. Open Visual Studio Code
  2. Press CTRL + SHIFT + P to open the Command Palette
  3. Search for “Terminal: Select Default Profile” (previously “Terminal: Select Default Shell”)
  4. Select your preferred shell. In my case I selected “Git Bash”
Visual Studio Code Screenshot
Visual Studio Code Screenshot

Final Thoughts

I hope you have found this article to be useful.

Visual Studio Code is a fantastic code editor. If you have any other Visual Studio Code tips, feel free to share them in the comments below. Happy coding!

Shane Bartholomeusz

7 thoughts on “How To: Set Default Terminal In VS Code

  1. I wanted to use Bun js instead of node for my terminal, I couldn’t get an option of Ubuntu to run on my terminal so tmux came in handy and I’m able to run my shell commands 30 times quicker than before, thank you.

  2. Thank You Sir, it took me hours in configuring the deprecated file yet this easy solution had helped me.

Leave a Reply