Use Bat to Print a File with Syntax Highlighting in the terminal

InstructorIan Jones

Share this video with your friends

Send Tweet

bat is a cat replacement that adds syntax highlighting to file previews.

You can install bat with brew install bat

Next, you simply call bat my_file.md to print out the contents.