# gitu を Homebrew, apk, MacPorts, Nix, pacman, scoop でインストール

gitu のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gitu
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gitu
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gitu
```

  証拠: MacPorts ports tree: devel/gitu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gitu
```

  証拠: Alpine Linux edge package indexes: gitu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#gitu
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/gitu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gitu
```

  証拠: Arch Linux sync databases: gitu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install extras/gitu
```

  証拠: Scoop official bucket manifest trees: bucket/gitu.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:gitu
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.43.0
- **ソース概要:** TUI Git client inspired by Magit
- **ホームページ:** <https://github.com/altsem/gitu>
- **リポジトリ:** <https://github.com/altsem/gitu>
- **最終更新:** 2026-07-11T23:35:09Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gitu (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.43.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/altsem/gitu>
- <https://api.github.com/repos/altsem/gitu/releases>
- <https://formulae.brew.sh/formula/gitu>
- <https://github.com/altsem/gitu>
- <https://raw.githubusercontent.com/altsem/gitu/master/README.md>
- <https://raw.githubusercontent.com/altsem/gitu/master/docs/installing.md>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.config/gitu/config.toml
- Windows: %USERPROFILE%\AppData\Roaming\gitu\config.toml
## 他のパッケージマネージャ記録

- Nix - gitu: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gitu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gitu - 0.43.0-r0: normalized package name match | Alpine Linux edge package indexes: gitu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI Git client inspired by Magit | https://github.com/altsem/gitu
- apk - gitu-doc - 0.43.0-r0: normalized package name match | Alpine Linux edge package indexes: gitu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI Git client inspired by Magit (documentation) | https://github.com/altsem/gitu
- pacman - gitu - 0.43.0-2: normalized package name match | Arch Linux sync databases: gitu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A TUI Git client inspired by Magit | https://github.com/altsem/gitu
- MacPorts - gitu: normalized package name match | MacPorts ports tree: devel/gitu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/gitu: normalized package name match | Scoop official bucket manifest trees: bucket/gitu.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gitu.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gitu.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
