How to Change the Default Shell in Windows Terminal App


If you make use of the Windows Terminal Application for executing scripts and commands on your Windows 10/11 PC, then you may have noticed that by default it opens up PowerShell. If you happen to use other shell such as Bash or Azure Shell, you may have to open a new tab.

If you wish to have a different shell to be opened instead of PowerShell, you can follow the below steps.

  1. Open Terminal app.
  2. Click on the ▼ arrow and select Settings.
  3. Now under Startup sidebar, click on the dropdown for "Default Profile" select your default shell.

    Default profile - Windows Terminal App
  4. Make sure to click the Save button.
  5. Close and Reopen Terminal, or open a new tab to see the change in effect.

As you can see my default shell has changed to Git Bash.

Default Shell Changed to Git Bash

This is not an AI-generated article but is demonstrated by a human on Windows 11 (version 22H2) PC.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap