How to Change the Default Shell in Windows Terminal

Windows terminal is a command-line front-line application. Further, it is a very useful application. In addition, it is a special Microsoft feature for Windows 10. There is a default facility for a Windows terminal. So, when you open it, by default it captures the Windows PowerShell. You can change it easily at your convenience. But, many users don’t have any idea about ‘How to Change the Default Shell in Windows Terminal?’. No issues at all. We are present here to help you. We are giving thorough information regarding this topic. This is going to be very helpful for your system. Thus, you should make use of it. We have also covered the article on ‘How to Change the Default Directory in Windows Terminal‘. So, let’s take a ride at ‘How to Change the Default Shell in Windows Terminal?’.

How to Change the Default Shell in Windows Terminal?

There are various options for the default shell. Moreover, you can use the Command Prompt, Ubuntu or Azure Cloud Shell, etc. So, there is a proper solution available for this query. A code is available in Windows Terminal settings. So, making some changes to that will decide the priority of the shells. You can set your favorite one there. We are delivering here a tutorial on ‘How to Change the Default Shell in Windows Terminal?’. We assure you that this data will give you many advantages in various ways. on the other side, we expect your involvement healthily also. Thus, let’s start this amazing journey of information.

Process Used to Change the Default Shell in Windows Terminal

There is a certain process available for this purpose. thus, you need to follow the steps given below to perform this operation.

1 ) Open the ‘Windows Terminal’

As the first step of this operation, search for the ‘Windows Terminal’ option in the search bar. Then, click on the application icon displayed on the screen.

How to Change the Default Shell in Windows Terminal step 1

2 ) Choose the ‘Settings’ Option

So, by default ‘Windows PowerShell’ will open. After that, click on the downward arrow available in the next window. Then select the ‘Settings’ option to proceed further. This is a very essential step to follow in this operation.

settings option window

3 ) Select the ‘Notepad’ Option

In addition to the above, there will be a window with different options. So, it is to open the settings file. Thus, for convenience purposes choose the ‘Notepad’ option from the list.

notepad selection window

4 ) Copy the Code for the Shell

Now, it’s time for the coding phase. So, choose the shell you want to make a default one. Suppose, you want to make Command Prompt your default shell. Then, go to the ‘Make changes here to the cmd.exe profile.’ option by scrolling down. This is a section for Command Prompt shell. Copy the code in front of the ‘guide’ menu. You need to copy the text with the brackets also.

copying code for the shell window

5 ) Select the “default profile” Field

Now, go above to the settings page. Then, choose the “default profile” field. There is space available for the new code. So, paste here the code you already copied.

default profile field

6 ) Save the Notepad File

At this stage, you should click on the ‘File’ option in the Notepad. Then, click on the ‘Save’ option. Thus, this shell becomes the default shell for the Windows Terminal.

saving the file

In this way, following the above-mentioned steps, you can change the default shell in Windows Terminal.

Leave a Comment