macOS
brew install tiglocal Homebrew formula metadata
sudo port install tigMacPorts ports tree · devel/tig/Portfile · ソース: api.github.com
brew
tig のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install tiglocal Homebrew formula metadata
sudo port install tigMacPorts ports tree · devel/tig/Portfile · ソース: api.github.com
sudo apk add tigAlpine Linux edge package indexes · tig · ソース: dl-cdn.alpinelinux.org
sudo dnf install tigFedora Rawhide package metadata · tig · ソース: dl.fedoraproject.org
nix profile install nixpkgs#tignixpkgs package indexes · pkgs/by-name/ti/tig/package.nix · ソース: api.github.com
sudo pacman -S tigArch Linux sync databases · tig · ソース: geo.mirror.pkgbuild.com
sudo zypper install tigopenSUSE Tumbleweed package metadata · tig · ソース: download.opensuse.org
概要
Text interface for Git repositories
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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/config実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tig | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:tig |
|---|---|
| バージョン | 2.6.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/tig |
| ホームページ | https://jonas.github.io/tig/ |
| リポジトリ | https://github.com/jonas/tig |
| 上流ドキュメント | https://github.com/jonas/tig/blob/master/doc/manual.adoc |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://github.com/jonas/tig/releases/download/tig-2.6.1/tig-2.6.1.tar.gz |
| 最終更新 | 2026-06-14T05:08:25Z |
| Pulse | updated |
| 依存関係 | ncurses, pcre2, readline |
| ビルド依存関係 | pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | 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 |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 tigソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.