Submit a product

bat

command-line file viewer with syntax highlighting and git integration

ToolCommand lineOpen source

bat is a command-line program that prints the contents of files to the terminal, with syntax highlighting and line numbers. It works as a replacement for the Unix cat command, so developers and sysadmins who read code or config files in a shell can use it in the same way.

It is written in Rust and runs from the command line on the platforms listed in its project data. The source code is public under the Apache-2.0 license, and it is free to use and modify. Its tags point to git integration, which marks changed lines in the output.

Alternatives to bat

Products that do a similar job in Developer Tools.

All alternatives

Warp

Terminal application rebuilt as a development environment

ToolDeveloper Tools··Open source·66k

delta

syntax-highlighting pager for git, diff, blame and grep output

ToolDeveloper Tools··Open source·33k

gitui

Keyboard-driven terminal interface for git repositories

ToolDeveloper Tools··Open source·23k

Rio

GPU-accelerated terminal emulator for macOS

AppDeveloper Tools··Open source·7.8k

onefetch

Command-line tool that shows a summary of a Git repository

ToolDeveloper Tools··Open source·12k

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k