Git GUI / gitk won’t open – complain of missing Tcl / Tk Aqua libraries

If you don’t already have Tcl/Tk Aqua installed on your computer (most MacOS X installs have it), you will get this error message. To resolve it, simply go to the website for Tcl / Tk Aqua and download the latest version:

If you have an older version of Tcl / Tk Aqua, you’ll benefit from upgrading.

More information:

Uninstalling Git from Mac-OS

Run the command to uninstall git from your device

uninstall script in /usr/local/git/

Git OSX Installation

Step 1: Install the Package

Double click the package in this disk image to install. This installs git to /usr/local/git, and places symlinks into /usr/local/bin and /usr/share/man/.

Step 2: Remove stubs (Yosemite and earlier)

When you run `git`, you might see this message: ‘The “git” command requires the command line developer tools. Would you like to install the tools now?”

This is because OS X ships with stubs, and these stubs are taking precedence over /usr/local/bin.

To resolve, run the following command:

sudo mv /usr/bin/git /usr/bin/git-system

This should not be a problem in OS X 10.11 (El Capitan), as /usr/local/bin takes precedence over /usr/bin