# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gitu>
- **バージョン:** 0.43.0
- **ソース概要:** TUI Git client inspired by Magit
- **ホームページ:** <https://github.com/altsem/gitu>
- **リポジトリ:** <https://github.com/altsem/gitu>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/altsem/gitu/archive/refs/tags/v0.43.0.tar.gz>
- **最終更新:** 2026-07-11T23:35:09Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gitu (cli)
- gitu (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.43.0
- マネージャ更新日: 2026-07-11
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/altsem/gitu
- 検出された最新: v0.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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gitu
- **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:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [gitui](https://pkg.so/ja/brew/gitui/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rust, terminal.
- [hunk](https://pkg.so/ja/brew/hunk/) - Shares pkgdb curated category or tags: cli, developer-tools, git, terminal, tui.
- [serie](https://pkg.so/ja/brew/serie/) - Shares pkgdb curated category or tags: cli, developer-tools, git, terminal, tui.
- [gitlogue](https://pkg.so/ja/brew/gitlogue/) - Shares pkgdb curated category or tags: cli, developer-tools, git, terminal, tui.
- [try-rs](https://pkg.so/ja/brew/try-rs/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal, tui.
- [so](https://pkg.so/ja/brew/so/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal, tui.
- [starship](https://pkg.so/ja/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [television](https://pkg.so/ja/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
