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.
- 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”
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)
- How To: Handle Line Endings with Git - 15th April 2023
- Solved: Dotnet EF CLI ‘Could not execute’ Error - 26th March 2023
- Solved: Cognitive Services – Operation returned an invalid status code ‘Unauthorized’ - 5th February 2023
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.
9th August 2022 at 2:48 pm
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.
24th September 2022 at 5:57 pm
Thank You very much. It helped me a lot to prevent the slowness of powershell during normal terminal works. Thanks again
10th April 2023 at 4:23 pm
Thank You !