Tig Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Tig Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

tig

A text-mode interface for Git.

Maintainer: Sebastian Harl



Section: vcs

Install tig

  • Debian apt-get install tig Click to copy
  • Ubuntu apt-get install tig Click to copy
  • Alpine OS apk add tig Click to copy
  • Arch Linux pacman -S tig Click to copy
  • Kali Linux apt-get install tig Click to copy
  • Fedora dnf install tig Click to copy
  • Raspbian apt-get install tig Click to copy
  • macOS brew install tig Click to copy

A text-mode interface for Git.

How to use tig?

Below are few example commands for tig that you can use in the terminal.

Show the sequence of commits starting from the current one in reverse chronological order:
tigClick to copy
Show the history of a specific branch:
tig branchClick to copy
Show the history of specific files or directories:
tig path1 path2 …Click to copy
Show the difference between two references (such as branches or tags):
tig base_ref..compared_refClick to copy
Display commits from all branches and stashes:
tig --allClick to copy
Start in stash view, displaying all saved stashes:
tig stashClick to copy
Installation of latest tig command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.