windows - How to use gitk with msys2? -


i using msys2 in windows 10. git works fine, gitk gives error:

/usr/bin/gitk: line 3: exec: wish: not found 

some googling suggested may because tk not installed, tried:

pacman -s tk 

which gave error:

error: target not found: tk 

how gitk work in environment?

try running 64-bit mingw shell (one of 3 environments provided msys2), installing package mingw-w64-x86_64-tk, , running gitk.

gitk works on system, , wish provided /mingw64/bin/wish.exe.


Comments