How to Change default terminal in VS Code

featured Image

In this article, we will see how to change the default terminal in VS Code (Visual Studio Code). By default, PowerShell is set as the default terminal for VS Code.

However, if we want to change the default shell from Powershell to CMD or GitBash, then what to do?

Well, to set the default terminal to any other of your choice, you can follow the simple steps given below.

Change the terminal in VSCode to CMD or GitBash.

Since I am a Windows user, I want to change the default shell to Command Prompt (CMD). So to do that, follow the steps:

  1. Open VSCode on your system.
  2. Now press ‘Ctrl + Shift + P‘ in Windows/Linux or ‘Cmd + Shift + P‘ in MacOS. It will open the command palette in VSCode.
  3. In the command palette, type “Terminal: Select Default Profile” and select the option when it appears.
  4. Now, from the list of shells, select the one you want to be your default shell. I will select ‘Command Prompt‘ as my terminal.
Change default terminal shell in VScode
Change default terminal shell in VScode

Once done, open your terminal in VS Code, and you will see your selected default terminal.

If you want GitBash as your default shell, make sure you have installed it on your system first, then follow the steps shown above to set it as default. It will change VSCode terminal to Bash.


Related Article:

Press Shift + Enter for new Line in Textarea

Related Posts

git commands with example

Top 40 Git commands with Examples

GitHub has become an essential tool for developers to manage, store, and collaborate with other developers on software projects. With its simple powerful git-based version control system, GitHub allows users…

Read more
Check GitHub Account in the Terminal

Check GitHub Account in the Terminal

GitHub is an integral tool for developers to store, manage, and collaborate on software projects with other developers. And as we work more and more in the command line it…

Read more
featured Image

How to make list of objects in Netlify CMS using list and object Widget

Here in this Netlify CMS tutorial we will how easily we can make a list of objects using list and object widgets. This will allow us to add multiple objects…

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *