# Installer gitu avec Homebrew, apk, MacPorts, Nix, pacman, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gitu pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gitu
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gitu
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:gitu
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gitu>
- **Version:** 0.43.0
- **Résumé source:** TUI Git client inspired by Magit
- **Page d'accueil:** <https://github.com/altsem/gitu>
- **Dépôt:** <https://github.com/altsem/gitu>
- **Licence:** MIT
- **Archive source:** <https://github.com/altsem/gitu/archive/refs/tags/v0.43.0.tar.gz>
- **Dernière mise à jour:** 2026-07-11T23:35:09Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gitu (cli)
- gitu (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.43.0
- gestionnaire mis à jour: 2026-07-11
- données locales: OK
- dépôt amont: https://github.com/altsem/gitu
- dernière version détectée: v0.43.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- 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
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
