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!
- Solved: Intermittent SharePoint Framework Caching and 404 deployment errors - 17th August 2023
- Solved: Azure Functions There is not enough space on the disk - 21st July 2023
- How To: Find Duplicate Lines Using Notepad++ - 15th June 2023