Development & technology · Product profile
bat
A command-line file viewer that adds syntax highlighting, Git change markers and paging while retaining plain-output behaviour for pipelines.
The idea
What it helps you do.
- 01Read source files with syntax highlighting for programming and markup languages.
- 02Inspect modified lines using Git integration while viewing a file.
- 03Use bat as an fzf preview or a colourising pager for manual pages.
Before you begin
A few things to check.
- Piped or redirected output normally falls back to plain content; force colour explicitly if another tool needs styled output.
- Windows builds do not natively accept Cygwin /cygdrive paths.
People behind the work
The connection matters.
Repository ownership is verified separately from authorship, maintenance or founding. How we verify →
Sources & verification
Suggest a correction →- raw.githubusercontent.comSource evidence reviewed · Oct 22, 2026
- raw.githubusercontent.comSource evidence reviewed · Oct 22, 2026
- api.github.comSource evidence reviewed · Oct 22, 2026