macOS
brew install gatlocal Homebrew formula metadata
sudo port install gatMacPorts ports tree · textproc/gat/Portfile · source: api.github.com
brew
Cat alternative written in Go. Version 0.30.2 via Homebrew; verified 2026-06-03.
install
brew install gatlocal Homebrew formula metadata
sudo port install gatMacPorts ports tree · textproc/gat/Portfile · source: api.github.com
nix profile install nixpkgs#gatnixpkgs package indexes · pkgs/by-name/ga/gat/package.nix · source: api.github.com
overview
Cat alternative written in Go
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gat | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/koki-develop/gat
install metadata
| Package key | brew:gat |
|---|---|
| Version | 0.30.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gat |
| Homepage | https://github.com/koki-develop/gat |
| Repository | https://github.com/koki-develop/gat |
| Upstream docs | https://github.com/koki-develop/gat#readme |
| License | MIT |
| Source archive | https://github.com/koki-develop/gat/archive/refs/tags/v0.30.2.tar.gz |
| Last updated | 2026-06-03T13:00:48Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gat
nix profile install nixpkgs#gatgat
sudo port install gatsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.