A cat(1) clone with syntax highlighting and Git integration
Key Features •
How To Use •
Installation •
Customization •
Project goals, alternatives
[English]
[中文]
[日本語]
[한국어]
[Русский]
Sponsors
A special thank you goes to our biggest sponsors:
Your app, enterprise-ready.
Start selling to enterprise customers with just a few lines of code.
Add Single Sign-On (and more) in minutes instead of months.
Syntax highlighting
bat
supports syntax highlighting for a large number of programming and markup
languages:
Git integration
bat
communicates with git
to show modifications with respect to the index
(see left side bar):
Show non-printable characters
You can use the -A
/--show-all
option to show and highlight non-printable
characters:
Automatic paging
By default, bat
pipes its own output to a pager (e.g. less
) if the output is too large for one screen
If you would rather …