ccat

Display file contents with syntax highlighting in the terminal

brewmacoslinux
Try with needOr install directly
Source

About

Like cat but displays content with syntax highlighting

Commands

ccat

Examples

Display a Python file with syntax highlighting$ ccat script.py
View a JSON configuration file with color coding$ ccat config.json
Highlight a shell script with syntax colors$ ccat deploy.sh