How to Change the Default Shell in Windows Terminal
Windows terminal 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 ‘How to Change the Default Shell in Windows Terminal?’. We assure you that this data will give you a number of advantages in various ways. on the other side, we expect your involvement in a healthy way 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.
2 ) Choose the ‘Settings’ Option
So, by default ‘Windows PowerShell’ will open. After that, click on the downward arrow available on the next window. Then select the ‘Settings’ option to proceed further. This is a very essential step to follow in this operation.
3 ) Select the ‘Notepad’ Option
In addition to the above, there will be a window with different options. So, it is for the purpose of opening the settings file. Thus, for convenience purposes choose the ‘Notepad’ option from the list.
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 ‘guid’ menu. You need to copy the text with the brackets also.
5 ) Select the “defaultProfile” Field
Now, go above to the settings page. Then, choose the “defaultProfile” field. There is space available for the new code. So, paste here the code you already copied.
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.
In this way, following the above-mentioned steps, you can change the default shell in Windows Terminal.