gitk: command not found
I just installed the latest version of git via homebrew on macos.
11:28 $ git --version
git version 2.25.0
It doesn't seem to have gitk and git gui so I noticed the answer for linux and tried to install the same package git-gui
via homebrew and it worked.
brew install git-gui
Found the bug here.
I'm running macos 10.14.5 Mojave.
Follow these steps to fix the issue:
Check
git
version withgit --version
, and it may show old version.Update Homebrew with
brew update
.Install the latest version of Git from Homebrew with
brew install git
.(Note that if anything went wrong with the installation, the
brew doctor
command can be used. In my case, it told me to usebrew link git
.)
I can now use gitk
.