bat

Cat clone with syntax highlighting and Git integration

brewmacoslinux
Try with needOr install directly
Source

About

Clone of cat(1) with syntax highlighting and Git integration

Commands

bat

Examples

Display a file with syntax highlighting$ bat script.py
Show multiple files with line numbers and Git changes$ bat src/*.js
Pipe output from another command with syntax highlighting$ cat config.json | bat --language json