How to Add Git Bash Option to Windows Terminal List


If you want Git Bash to be displayed as one of the options while selecting a prompt in Windows Terminal, you can do two things.

If you are following the installation of Git Bash, make sure to select the option "Add a Git Bash Profile to Windows Terminal" on the Select Components screen.

Add a Git Bash Profile to Windows Terminal

If you already have Git Bash installed and do not see the option, then follow the below steps.

  1. Locate where Git Bash exe has been installed on your Windows (based on x86, x64, or ARM installation location under Program Files)
  2. Launch Terminal app and click on ▼ arrow and select Settings.
  3. Edit Settings and in profiles.list add the profile for Git Bash.
    {
        "guid": "101",
        "name": "Git Bash",
        "commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
        "icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
        "startingDirectory": "%USERPROFILE%"
    }
    
  4. Save and restart Terminal App.
Git Bash in Windows Terminal

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