batv0.26.1
A cat clone for viewing files in the terminal, with syntax highlighting built in.
61.4k
Stars
3587.7k
Total downloads
10
Versions
6h ago
Page synced
Download
v0.26.12025-12-02 · 11mo agoRecommended for most users
bat-v0.26.1-x86_64-pc-windows-msvc.zip
3.4 MBx64149.7k downloadsSHA256 0f729b4b6f…This is the right pick for most people, including when you are unsure about x64 vs arm64.
Windows — all files
About this project
bat is an enhanced replacement for the classic cat command, used to view text and code files right in your terminal. It adds syntax highlighting and line numbers to the output, and pages through long files automatically, which makes reading code and logs much easier on the eyes.
It is made for developers and system administrators who spend a lot of time in the terminal. After downloading the build for your system and unpacking it, you can use bat almost exactly like cat, so there is virtually no learning curve.
Key features
- Syntax highlighting for code files
- Line numbers for easy reference
- Automatic paging for long files
- Works almost exactly like cat
- Single binary, ready to use
Use cases & who it's for
- Reading code in the terminal and wanting clear, highlighted output
- Scanning long log files and jumping to specific lines while troubleshooting
- Replacing plain cat with a more readable everyday file viewer
Maintenance
Slowing down
Last release 11mo ago
License
Apache-2.0
Permissive license
Allows:Commercial use、Modification、Distribution、Patent grant
Requires:Keep the copyright notice、State changes made
Facts
- Language
- Rust
- Forks
- 2.3k
- Latest release
- 2025-12-02
- Created
- 2018-04-21
System requirements & installation
- Supported systems
- Windows, macOS, Linux (based on the files the latest release actually ships)
- How to install
Windows: Download the .exe or .msi installer, run it and follow the setup wizard.
macOS: Open the .dmg and drag the app into Applications; if macOS blocks the first launch, allow it under System Settings → Privacy & Security.
Linux: Match your distro: .deb for Debian / Ubuntu, .rpm for Fedora / RHEL, or the portable .AppImage (make it executable and run it).
- Which file to pick
Pick x64 for regular Intel / AMD machines and arm64 for ARM devices — the wrong one will not install.
FAQ
Is bat free?
Yes. bat is free and open source under the Apache-2.0 license, and you can download and use it for free.
Which platforms does bat support?
This site provides builds for Windows, macOS and Linux. Pick the file that matches your system from the version list.
How do I download and install bat from this site?
Download the archive for your system from the version list on this page, unpack it, place the bat binary in a folder on your system path, then run bat followed by a file name in your terminal.
How is bat different from cat?
bat keeps the familiar cat workflow but adds syntax highlighting, line numbers and paging, so code and long files are easier to read.
Older versions 9 versions
Related software
A multi-platform game engine for building 2D and 3D games
A modern runtime for JavaScript and TypeScript.
The new Windows Terminal: a modern host for command-line tools and shells
Ghidra is a software reverse engineering (SRE) framework
