Skip to content

Instantly share code, notes, and snippets.

Last active December 7, 2022 03:27
  • Star 14 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lhsfcboy/f5802a5985a1fe95fddb43824037fe39 to your computer and use it in GitHub Desktop.
I did a little research and have found that GIT Bash uses MINGW compilation of GNU tools.
It uses only selected ones.
You can install the whole distribution of the tools from
and run a command to install Tmux. And then copy some files to installation folder of Git.
This is what you do:
Install before-mentioned msys2 package and run bash shell
Install tmux using the following command: pacman -S tmux
Go to msys2 directory, in my case it is C:\msys64\usr\bin
Copy tmux.exe and msys-event-2-1-4.dll to your Git for Windows directory,
mine is C:\Program Files\Git\usr\bin
Copy link

@locopine thanks for suggesting the last file, works like a charm

Copy link

grpnpraveen commented Dec 20, 2021

@locopine May I know what version of git it is working for ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment