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


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!
Latest posts by Shane Bartholomeusz (see all)
- Power Automate: Remove End of Line Characters - 19th May 2022
- Solved: Why Async/Await does not work with .forEach - 17th April 2022
- How To: Deep Clone a JavaScript Object - 17th March 2022
11th April 2022 at 2:36 pm
Hey the command is changed it
Terminal: Select Default Profile
8th May 2022 at 5:25 pm
Thanks Rahul. I’ve updated the article.