macOS
brew install gatlocal Homebrew formula metadata
sudo port install gatMacPorts ports tree · textproc/gat/Portfile · 来源: api.github.com
安装
brew install gatlocal Homebrew formula metadata
sudo port install gatMacPorts ports tree · textproc/gat/Portfile · 来源: api.github.com
nix profile install nixpkgs#gatnixpkgs package indexes · pkgs/by-name/ga/gat/package.nix · 来源: api.github.com
概览
Cat alternative written in Go
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/koki-develop/gat
安装元数据
| 软件包键 | brew:gat |
|---|---|
| 版本 | 0.30.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gat |
| 主页 | https://github.com/koki-develop/gat |
| 仓库 | https://github.com/koki-develop/gat |
| 上游文档 | https://github.com/koki-develop/gat#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/koki-develop/gat/archive/refs/tags/v0.30.2.tar.gz |
| 最后更新 | 2026-06-03T13:00:48Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gat
nix profile install nixpkgs#gatgat
sudo port install gat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.