A cat(1) clone with syntax highlighting and Git integration.
- v0.26.1
- Published at
- Dec 2, 2025
- 60,669
- Stars
- 2,999,397
- Download
- Synced at
- Oct 4, 2026
The author no longer ships through GitHub Releases, but the repository is still active (last push Oct 1, 2026). Get the latest version from:
Latest release
v0.26.1Dec 2, 2025, 08:48 PMDownloads slow? Switch the source anytime above
README
Project Overview
bat is a cat(1) clone with syntax highlighting and Git integration. Great for viewing source code and text files in the terminal.
Key Features
- Syntax highlighting for many programming and markup languages
- Git integration showing modifications
- Automatic paging when output is too large
- Show non-printable characters with
-A/--show-all - Read from stdin with automatic syntax detection
Target Audience
- Command-line users and developers
- People who frequently view code in the terminal
- Users wanting a better
catexperience
Quick Start
- Install via package manager:
brew install bat(macOS),apt install bat(Debian/Ubuntu),winget install sharkdp.bat(Windows) - Or download a binary from GitHub Releases
- Usage:
bat README.mdorbat src/*.rs
Core Advantages
- Syntax highlighting improves readability
- Git integration shows version status
- Automatic paging for long files
- Highly configurable
System Requirements
- OS: Cross-platform (Windows, macOS, Linux)
- Architectures: x86_64, arm64
- Additional Dependencies: None
Notes
- Use
--paging=neverto disable paging and behave likecat - Configuration file at
~/.config/bat/config
Release history
Sort