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


  1. Open Visual Studio Code
  2. Press CTRL + SHIFT + P to open the Command Palette
  3. Search for “Terminal: Select Default Shell”
  4. Select your preferred shell. In my case I selected “Git Bash”
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