colordiff

A wrapper around diff that produces the same output but with pretty syntax highlighting. Color schemes can be customized. More information: https://github.com/kimmel/colordiff.

colordiff file1 file2

colordiff -y file1 file2

colordiff -i file1 file2

colordiff -s file1 file2

colordiff -w file1 file2