• Paul Troncone

How to Add Git Bash and Cygwin to Windows Terminal

Updated: 4 days ago

When you install Git for Windows it comes prepacked with Git Bash, a Linux terminal emulator. Git Bash is particularly useful because it lets you run both Linux and Windows commands from the same terminal and access the underlying Windows file system. You can easily add this emulator to Windows Terminal by editing a few simple settings.

1. First open Windows Terminal and then select "Settings" from the drop-down menu.

2. Next click "Add new" from the left menu to add a new profile.

3. Enter "Git Bash" or a similar title in the "Name" field.

4. Enter the path to the Git Bash executable in the "Command Line" field. The default path is:

C:\Program Files\Git\bin\bash.exe

5. Enter the path to the Git for Windows icon in the "Icon" field. The default path is:

C:\Program Files\Git\mingw64\share\git\git-for-windows.ico

6. Click "Save"

Now you can open Git Bash in a new tab or pane as normal in Windows Terminal.

Adding Cygwin to Windows Terminal

You can also add Cygwin to Windows Terminal using the same procedure. The default path for the Cygwin executable is:


The default path for the icon is:


Links and Resources

44 views0 comments

Recent Posts

See All