macOS
brew install tiglocal Homebrew formula metadata
sudo port install tigMacPorts ports tree · devel/tig/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tig pour les workflows d'agents IA.
installation
brew install tiglocal Homebrew formula metadata
sudo port install tigMacPorts ports tree · devel/tig/Portfile · Source: api.github.com
sudo apk add tigAlpine Linux edge package indexes · tig · Source: dl-cdn.alpinelinux.org
sudo apt install tigDebian stable package indexes · tig · Source: deb.debian.org
sudo dnf install tigFedora Rawhide package metadata · tig · Source: dl.fedoraproject.org
nix profile install nixpkgs#tignixpkgs package indexes · pkgs/by-name/ti/tig/package.nix · Source: api.github.com
sudo pacman -S tigArch Linux sync databases · tig · Source: geo.mirror.pkgbuild.com
sudo zypper install tigopenSUSE Tumbleweed package metadata · tig · Source: download.opensuse.org
aperçu
Text interface for Git repositories
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
{sysconfdir}/tigrc~/.tigrc$XDG_CONFIG_HOME/tig/configexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
tig | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:tig |
|---|---|
| Version | 2.6.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/tig |
| Page d'accueil | https://jonas.github.io/tig/ |
| Dépôt | https://github.com/jonas/tig |
| Docs amont | https://github.com/jonas/tig/blob/master/doc/manual.adoc |
| Licence | GPL-2.0-or-later |
| Archive source | https://github.com/jonas/tig/releases/download/tig-2.6.1/tig-2.6.1.tar.gz |
| Dernière mise à jour | 2026-06-14T05:08:25Z |
| Pulse | updated |
| Dépendances | ncurses, pcre2, readline |
| Dépendances de compilation | pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
| Précautions | A 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 |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tig |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
tig 2.5.8-1+b1
ncurses-based text-mode interface for Git
sudo apt install tigtig
nix profile install nixpkgs#tigtig 2.5.8-1build2
ncurses-based text-mode interface for Git
sudo apt install tigtig 2.6.0-r1
Text-mode interface for the git revision control system
sudo apk add tigtig-doc 2.6.0-r1
Text-mode interface for the git revision control system (documentation)
sudo apk add tig-doctig 2.6.0-2.fc44
Text-mode interface for the git revision control system
sudo dnf install tigtig 2.6.0-1
Text-mode interface for Git.
sudo pacman -S tigtig 2.6.0-1.4
An ncurses-based text-mode interface for git
sudo zypper install tigtig-bash-completion 2.6.0-1.4
Bash completion for tig
sudo zypper install tig-bash-completiontig-zsh-completion 2.6.0-1.4
Zsh completion for tig
sudo zypper install tig-zsh-completiontig
sudo port install tigpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.