bat
Install command:
brew install batClone of cat(1) with syntax highlighting and Git integration
https://github.com/sharkdp/bat
License: Apache-2.0 OR MIT
Development: Pull requests
Formula JSON API: /api/formula/bat.json
Formula code: bat.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 0.26.1 |
| head | ⚡️ | HEAD |
Depends on:
| libgit2 | 1.9.7 | C library of Git core methods that is re-entrant and linkable |
| oniguruma | 6.9.10 | Regular expressions library |
Depends on when building from source:
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
| rust | 1.99.1 | Safe, concurrent, practical language |
Binaries:
bat
GitHub Packages downloads:
| Last 30 days | 68,657 |
|---|---|
| Downloads | 3,367,334 |
| Analytics install events (30 days) | 16,921 |
| Downloads / install events (30 days) | 4.1× |
Source: GitHub Packages, fetched 2026-11-01T00:48:01Z. Analytics dates: 2026-10-02 to 2026-11-01. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 16,906 | 35,701 | 194,297 |
Installs (--HEAD) | 15 | 34 | 236 |
| Installs on Request | 16,878 | 35,637 | 193,696 |
Installs on Request (--HEAD) | 15 | 34 | 236 |
Build Errors (--HEAD) | 2 | ||
| Build Errors | 1 |