Favicon of bat

bat

bat is a drop-in replacement for `cat` that adds syntax highlighting for hundreds of languages, Git diff markers in the gutter, and automatic paging for long files.

Why bat

  • Syntax highlighting via syntect with themes from Sublime.
  • Shows changed / added / removed lines relative to the git index.
  • Non-printable character display.
  • Drop-in cat replacement via alias cat=bat.

Install

Apt
$ apt install bat

Shell features

Syntax highlighting

Features

True color

Media

Pros

4
  • Drop-in replacement for cat with enhanced features
  • Syntax highlighting for many languages
  • Git diff integration in the gutter
  • Automatic paging for long files

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to bat

Favicon

 

  
 
Favicon

 

  
 
Favicon