1

I am using git on OSX.

git --version returns

git version 2.3.2 (Apple Git-55)

From Googling, it seems this version should include gitk. But when I run the command, I get command not found.

gitk
bash: gitk: command not found

Why is this, and how can I get gitk on OSX? I am not using homebrew.

Pang
  • 9,564
  • 146
  • 81
  • 122
boltup_im_coding
  • 6,345
  • 6
  • 40
  • 52
  • 1
    It's very likely Apple stripped gitk from their included git (for reasons unknown, but one can wager the gitk GUI doesn't really suit the overall Apple theme; and by default git would be run through XCode). It's also what [this question (and answer)](http://stackoverflow.com/questions/17582685/install-gitk-on-mac) indicate. –  Jul 23 '15 at 02:03
  • @Evert I saw that question. I assumed mine was different because I had such a later version (55). I saw somewhere also that version 45 did have gitk. So it looks like perhaps it came and went. – boltup_im_coding Jul 23 '15 at 03:07
  • It appears to have disappeared in [version 50](http://stackoverflow.com/questions/30195143/gitk-command-not-found) (if it ever actually was there in 45). –  Jul 23 '15 at 03:24
  • Btw, no harm in using homebrew and get the latest-greatest on the git end (or other s/w). –  Jul 23 '15 at 03:25
  • @Evert thanks. I got git from homebrew. I just wasn't sure if there were any changes that would be incompatible. – boltup_im_coding Jul 23 '15 at 18:30
  • I just brew installed git and got gitk. So far no issues... – Adrian Lynch Aug 13 '15 at 12:39
  • @AdrianLynch yes, I did that after this post went nowhere and I've been fine too. – boltup_im_coding Aug 13 '15 at 17:12

0 Answers0