Automic VaultAutomic Vault

brew

Install tig with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Text interface for Git repositories. Version 2.6.1 via Homebrew; verified 2026-06-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tig

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tig

MacPorts ports tree · devel/tig/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add tig

Alpine Linux edge package indexes · tig · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install tig

Debian stable package indexes · tig · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install tig

Fedora Rawhide package metadata · tig · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#tig

nixpkgs package indexes · pkgs/by-name/ti/tig/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S tig

Arch Linux sync databases · tig · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install tig

openSUSE Tumbleweed package metadata · tig · source: download.opensuse.org

overview

Package summary

Text interface for Git repositories

Commands and aliases

  • tig

history

Project history and usage

Tig is an ncurses-based text-mode interface for Git. Its README describes it mainly as a Git repository browser that can also stage changes at chunk level and act as a pager for output from Git commands.

Project history

Tig grew around a simple package-manager-friendly idea: keep Git's command-line model, but make repository history, diffs, refs, blame, status, and staging navigable in a terminal UI. The manual explicitly says Tig uses underlying Git commands to present views such as commit logs, diffs, trees, blobs, blame, refs, status, stashes, grep results, and pager input.

The public GitHub repository was created in March 2009, and the official release notes show the project continuing through the 2.x series with ongoing fixes, Unicode updates, Git integration changes, editor behavior, blame improvements, status/stage workflow refinements, and security fixes such as the 2.6.1 editor command injection fix.

Tig's design has stayed deliberately close to Git rather than becoming a separate repository manager. Its manual documents that command-line Git options are passed through, Git output can be piped into pager mode, and user-defined commands can reference the current commit, branch, file, line, stash, or repository state.

Adoption history

The input package facts list Tig across Homebrew, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, openSUSE/zypper, MacPorts, and Nix. That broad packaging footprint matches Tig's long-standing role as a standard terminal companion for Git users.

GitHub repository metadata also shows a large user base for a C/ncurses terminal tool, with many forks and stars and topics including git, ncurses, and tui. For a package database, this is a strong signal that Tig is not just a niche wrapper but a mature CLI application with cross-platform package visibility.

Tig's adoption tracks the popularity of text UIs among developers who want richer navigation than git log or git status without leaving SSH sessions, tmux panes, or minimal development environments.

How it is used

Common usage is interactive repository browsing: users run tig in a Git worktree to inspect commit history, open diffs, jump into blame, browse trees, inspect refs, and move between views from a single terminal screen.

Tig is also used as a pager. The manual shows piping git show into tig, and the README says it can act as a pager for output from various Git commands, which makes it useful in aliases and scripts that preserve Git's native output while adding navigation and color.

Its status and stage views matter to daily Git users because they allow staging and unstaging changes, including chunk-level staging, without starting a graphical Git client.

Why package nerds care

Tig is a canonical package-nerd tool: small name, huge day-to-day leverage, packaged everywhere, and useful immediately after brew install tig on a new machine. It represents the Unix packaging sweet spot where a binary depends on familiar libraries and composes with the command line rather than replacing it.

For maintainers and power users, Tig is also interesting because its behavior is tied to Git versions, ncurses, Unicode handling, shells, editors, and terminal quirks. The release notes read like a history of practical terminal-Git edge cases, which is exactly why distributions keep shipping current builds.

Timeline

  • 2009: GitHub repository for jonas/tig created.
  • 2010s: Tig becomes widely packaged as a terminal interface for Git repositories.
  • 2024-2026: 2.5 and 2.6 release notes document continued work on Unicode, blame, status/stage behavior, Git maintenance refs, Apple Silicon build adjustments, and security fixes.
  • 2026: 2.6.1 release notes document a security fix for an editor command injection vulnerability affecting 2.6.0.

Related projects

  • Tig is directly tied to Git: it shells out to Git commands and presents Git logs, diffs, refs, blame, status, stash, and grep views.
  • Its closest package-neighbor category is terminal Git clients and TUIs, but official documentation frames it as a text-mode interface and pager rather than a replacement Git implementation.

Sources

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
{sysconfdir}/tigrc~/.tigrc$XDG_CONFIG_HOME/tig/config

executables

Installed executables

CommandKindExposureNote
tigcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.6.1
manager updated2026-06-14
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/jonas/tig

install metadata

Package metadata

Package keybrew:tig
Version2.6.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tig
Homepagehttps://jonas.github.io/tig/
Repositoryhttps://github.com/jonas/tig
Upstream docshttps://github.com/jonas/tig/blob/master/doc/manual.adoc
LicenseGPL-2.0-or-later
Source archivehttps://github.com/jonas/tig/releases/download/tig-2.6.1/tig-2.6.1.tar.gz
Last updated2026-06-14T05:08:25Z
Pulseupdated
Dependenciesncurses, pcre2, readline
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsA sample of the default configuration has been installed to: $HOMEBREW_PREFIX/opt/tig/share/tig/examples/tigrc to override the system-wide default configuration, copy the sample to: $HOMEBREW_PREFIX/etc/tigrc

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametig
Aliases
  • git-tig
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

tig 2.5.8-1+b1

ncurses-based text-mode interface for Git

https://jonas.github.io/tig/

sudo apt install tig
  • Section: vcs
  • Architecture: amd64
  • Source Package: tig
  • 8 dependencies
  • normalized package name match
  • Matched by: Tig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tig

nix profile install nixpkgs#tig
  • normalized package name match
  • Matched by: Tig
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ti/tig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tig 2.5.8-1build2

ncurses-based text-mode interface for Git

https://jonas.github.io/tig/

sudo apt install tig
  • Section: universe/utils
  • Architecture: amd64
  • 8 dependencies
  • normalized package name match
  • Matched by: Tig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

tig 2.6.0-r1

Text-mode interface for the git revision control system

https://jonas.github.io/tig/

sudo apk add tig
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: tig
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tig from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

tig-doc 2.6.0-r1

Text-mode interface for the git revision control system (documentation)

https://jonas.github.io/tig/

sudo apk add tig-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: tig
  • normalized package name match
  • Matched by: Tig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

tig 2.6.0-2.fc44

Text-mode interface for the git revision control system

https://jonas.github.io/tig/

sudo dnf install tig
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tig
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

tig 2.6.0-1

Text-mode interface for Git.

https://jonas.github.io/tig/

sudo pacman -S tig
  • License: GPL
  • Architecture: x86_64
  • 8 dependencies
  • normalized package name match
  • Matched by: Tig
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

tig 2.6.0-1.4

An ncurses-based text-mode interface for git

https://jonas.github.io/tig/

sudo zypper install tig
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Version Control
  • Architecture: x86_64
  • Source Package: tig
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

tig-bash-completion 2.6.0-1.4

Bash completion for tig

https://jonas.github.io/tig/

sudo zypper install tig-bash-completion
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Version Control
  • Architecture: noarch
  • Source Package: tig
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tig-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

tig-zsh-completion 2.6.0-1.4

Zsh completion for tig

https://jonas.github.io/tig/

sudo zypper install tig-zsh-completion
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Version Control
  • Architecture: noarch
  • Source Package: tig
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tig-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

tig

sudo port install tig
  • normalized package name match
  • Matched by: Tig
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/tig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment