Without the need for Xcode bloat (yay!).
What is tig?: https://github.com/jonas/tig
# install gcc/make/etc.
# note: this will *not* install Xcode - don't be fooled by xcode in CLI command name
$ xcode-select --install
# now download and compile tig source
$ curl -LO -- https://github.com/jonas/tig/archive/tig-2.3.0.tar.gz
$ tar -xf tig-2.3.0.tar.gz
$ cd tig-tig-2.3.0
$ make
# finally install
$ sudo make install prefix=/usr/local
The tig
binary will now be available at:
$ which tig
/usr/local/bin/tig