# Installer gat avec Homebrew, MacPorts, Nix

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

## installation

```sh
sudo av install brew:gat
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gat
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gat
```

  Preuve: MacPorts ports tree: textproc/gat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gat
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ga/gat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:gat
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gat>
- **Version:** 0.30.2
- **Résumé source:** Cat alternative written in Go
- **Page d'accueil:** <https://github.com/koki-develop/gat>
- **Dépôt:** <https://github.com/koki-develop/gat>
- **Licence:** MIT
- **Archive source:** <https://github.com/koki-develop/gat/archive/refs/tags/v0.30.2.tar.gz>
- **Dernière mise à jour:** 2026-07-27T14:57:48+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gat (cli)
- gat (alias)

## Dépendances de compilation

- go

## 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.30.2
- gestionnaire mis à jour: 2026-07-27
- données locales: OK
- dépôt amont: https://github.com/koki-develop/gat
- dernière version détectée: v0.30.2 (à jour)
## Historique du projet et usages

gat is a Go implementation of a modern `cat`-style terminal file viewer. It keeps the familiar single-command file display model while adding syntax highlighting, Markdown rendering, image display for Sixel-capable terminals, pretty printing, and secret masking.

### Historique du projet

The project started publicly in March 2023 and released v0.1.0 the same day. Its official README describes it as a cat alternative written in Go and documents a steady release series through the 0.x line.

### Historique d'adoption

The README documents installation through the author's Homebrew tap, Homebrew core, `go install`, and GitHub release binaries. That places gat in the same terminal-tool packaging niche as other enhanced `cat` replacements, but with a small Go binary distribution story.

### Modes d'utilisation

Users run `gat` with one or more files and optional flags for language selection, output format, themes, Markdown rendering, nonprinting character display, and secret masking. Environment variables such as `GAT_FORMAT` and `GAT_THEME` can provide defaults for output style.

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

gat is package-nerd-relevant as another entry in the long-running ecosystem of `cat` replacements, but its mix of terminal image support, Markdown rendering, and built-in token masking makes it more than a straight colorizer.

### Chronologie

- 2023: Public GitHub repository created.
- 2023: v0.1.0 released.
- 2025: v0.20.x releases continued the 0.x series.

### Related projects

- gat relates to traditional Unix `cat`; the official sources describe it generically as a cat alternative rather than positioning it against a specific competing package.

### Sources

- <https://github.com/koki-develop/gat>
- <https://github.com/koki-develop/gat/releases>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gat
- **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 - gat: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/gat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gat: normalized package name match | MacPorts ports tree: textproc/gat/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [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.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [ccat](https://pkg.so/fr/brew/ccat/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, go, syntax-highlighting.
- [nyan](https://pkg.so/fr/brew/nyan/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, go, syntax-highlighting.
- [micro](https://pkg.so/fr/brew/micro/) - Shares pkgdb curated category or tags: cli, developer-tools, go, syntax-highlighting, terminal.
- [fzf](https://pkg.so/fr/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.
- [bat](https://pkg.so/fr/brew/bat/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, syntax-highlighting.
- [jjui](https://pkg.so/fr/brew/jjui/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.
- [peco](https://pkg.so/fr/brew/peco/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.
- [rich-cli](https://pkg.so/fr/brew/rich-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, syntax-highlighting, terminal.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
