Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, scoop 安装 gitu

查看 gitu 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gitu

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gitu

MacPorts ports tree · devel/gitu/Portfile · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install extras/gitu

Scoop official bucket manifest trees · bucket/gitu.json · 来源: api.github.com

概览

软件包摘要

TUI Git client inspired by Magit

命令和别名

  • gitu

历史

项目历史与用法

Gitu is a terminal Git client inspired by Magit, the influential Emacs Git porcelain. It aims to bring Magit's keyboard-driven staging, history, commit, branch, stash, and rebase workflows to users outside Emacs.

项目历史

The repository was opened in December 2023. Its README describes the project as a Git porcelain outside Emacs and states that Gitu aims to implement many core Magit features over time while staying familiar to previous Magit users.

Early releases moved quickly through the 0.x line in 2024. The README lists support for staging and unstaging files, hunks, and lines; showing commits and opening an editor at a line; branch operations; commit, amend, and fixup flows; fetching, pulling, pushing, rebasing, resetting, reverting, and stashing.

The project also codified terminal configuration early: editor selection follows `VISUAL`, `EDITOR`, and `GIT_EDITOR`, and the documented config file path is `~/.config/gitu/config.toml` on Linux and macOS, with an AppData path on Windows.

采用历史

Gitu's packaging spread shows interest beyond its source repository. The input package metadata and install docs cover Cargo, GitHub release binaries, Arch Linux, Nix flakes, mise, Homebrew, MacPorts, pacman, APK, and Scoop. That matters because Git TUIs are often installed as everyday shell tools rather than project-local dependencies.

使用方式

Practitioners use Gitu inside Git repositories as a keyboard-first control surface for reviewing changes, staging precise hunks or lines, inspecting logs, committing, switching branches, rebasing, and managing stashes. The help menu and Magit-like key choices reduce the need to remember a long set of standalone Git commands.

The tool sits between raw Git and full graphical clients: it keeps work in a terminal, opens a configured editor when needed, and gives Magit-style workflows to developers who do not live inside Emacs.

为什么软件包爱好者会关心

Gitu is significant as part of the Rust-era Git TUI wave. It competes for the same install slot as tools like gitui and lazygit, but its package identity is sharper: Magit-inspired Git porcelain for terminal users outside Emacs.

时间线

  • 2023: Public GitHub repository opened.
  • 2024: Early 0.x GitHub releases published.
  • 2024: Install docs covered Cargo, Arch Linux, release binaries, mise, and Nix flakes.
  • 2026: 0.42 release line visible in GitHub releases.

Related projects

  • Magit for Emacs.
  • Git terminal UIs such as gitui and lazygit.
  • Cargo, Nix flakes, mise, Homebrew, Arch Linux, and Scoop packaging workflows.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:client

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
~/.config/gitu/config.toml
Windows
%USERPROFILE%\AppData\Roaming\gitu\config.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gitucli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.43.0
管理器更新时间2026-07-11
本地数据OK
上游当前
检测到的最新版本v0.43.0

https://github.com/altsem/gitu

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gitu
版本0.43.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gitu
主页https://github.com/altsem/gitu
仓库https://github.com/altsem/gitu
上游文档https://github.com/altsem/gitu#readme
许可证MIT
源码归档https://github.com/altsem/gitu/archive/refs/tags/v0.43.0.tar.gz
最后更新2026-07-11T23:35:09Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gitu

nix profile install nixpkgs#gitu
  • normalized package name match
  • 匹配方式:Gitu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gitu 0.42.0-r0

TUI Git client inspired by Magit

https://github.com/altsem/gitu

sudo apk add gitu
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitu
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gitu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gitu-doc 0.42.0-r0

TUI Git client inspired by Magit (documentation)

https://github.com/altsem/gitu

sudo apk add gitu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitu
  • normalized package name match
  • 匹配方式:Gitu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

gitu 0.42.0-1

A TUI Git client inspired by Magit

https://github.com/altsem/gitu

sudo pacman -S gitu
  • License: MIT
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gitu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gitu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

gitu

sudo port install gitu
  • normalized package name match
  • 匹配方式:Gitu
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gitu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/gitu

scoop install extras/gitu
  • normalized package name match
  • 匹配方式:Gitu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gitu.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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