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>.

Install

All systems
curl cmd.cat/colordiff.sh
Debian Debian
apt-get install colordiff
Ubuntu
apt-get install colordiff
Alpine
apk add colordiff
Arch Arch Linux
pacman -S colordiff
image/svg+xml Kali Linux
apt-get install colordiff
Fedora
dnf install colordiff
Windows (WSL2)
sudo apt-get update sudo apt-get install colordiff
OS X
brew install colordiff
Raspbian
apt-get install colordiff
Docker
docker run cmd.cat/colordiff colordiff powered by Commando

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>.

  • Compare files:
    colordiff file1 file2
  • Output in two columns:
    colordiff -y file1 file2
  • Ignore case differences in file contents:
    colordiff -i file1 file2
  • Report when two files are the same:
    colordiff -s file1 file2
  • Ignore whitespace:
    colordiff -w file1 file2

© tl;dr; authors and contributors