colordiff

Display diff output with color syntax highlighting for improved readability

brewmacoslinux
Try with needOr install directly
Source

About

Color-highlighted diff(1) output

Commands

colordiff

Examples

Compare two files with colored diff output$ colordiff file1.txt file2.txt
Use colordiff as a pager for git diff output$ git diff | colordiff
Compare directories recursively with color highlighting$ colordiff -r dir1/ dir2/