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)
- Solved: Build Errors Not Showing in VS 2022 - 21st November 2024
- How To: Configure VSCode to Trust Self-Signed Certs - 16th August 2024
- Solved: GitHub Actions – HTTP 403: Resource not accessible by integration - 13th June 2024
Hey the command is changed it
Terminal: Select Default Profile
Thanks Rahul. I’ve updated the article.
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.
Thank You very much. It helped me a lot to prevent the slowness of powershell during normal terminal works. Thanks again
Thank You !
Thank You Sir, it took me hours in configuring the deprecated file yet this easy solution had helped me.
Thank you for publishing this useful article.