Readable Diffs With icdiff

Compare files side by side with aligned, colored changes.

LinuxdifftextTerminalLow risk
Run icdiff file1.txt file2.txt for a colored side-by-side comparison.

01Command

Command
$ icdiff file1.txt file2.txt

02What it does

icdiff improves on plain diff by placing the two files in columns with per-line highlighting, so insertions and deletions line up, and it clamps output to the terminal width. It can also act as a git difftool.

03Risk

RiskLow risk
Requirementssudo apt install icdiff
!Warning: It is a display helper, not a merge tool; long lines may be truncated to fit the width.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Debian package: icdiff
    Debian · vendor-doc · 2026-09-20
    Evidence: Debian packages icdiff, an improved colored side-by-side diff viewer.
  • icdiff
    Official project · vendor-doc · 2026-09-20
    Evidence: Debian packages icdiff, an improved colored side-by-side diff viewer.

Last verified: 2026-09-22 · Category: Developer

06Related solutions