# bat

> bat, cat with syntax highlighting and git changes; also the man page pager.

bat prints files with syntax highlighting, line numbers and git change marks. It is also the pager for man pages, so they are coloured and searchable.

## On the workstation

-   Installed by the `bat` formula; its themes are in `assets/theme/dot_config/bat`.
    

## Keys and commands

 
| Key or command | Does |
| --- | --- |
| 
`bat file`

 | 

Show a file with highlighting

 |
| 

`catp`

 | 

The same, by its alias

 |

## See also

-   [eza](eza.html)
    
-   [fd and ripgrep](fd-ripgrep.html)
    
-   [bat website](https://github.com/sharkdp/bat)
