Skip to main content

Custom Diff Tools

When Kiro proposes file changes, it displays them using a built-in diff tool. If you prefer a different diff experience—whether that's syntax highlighting, side-by-side views, or your favorite GUI tool—you can configure Kiro to use an external diff tool instead.

Configuration

Configure your preferred diff tool with the chat.diffTool setting:

bash
kiro-cli settings chat.diffTool <tool-name>

For example, to use delta:

bash
kiro-cli settings chat.diffTool delta

To reset to the built-in diff:

bash
kiro-cli settings -d chat.diffTool

Terminal tools

These tools display diffs directly in your terminal, keeping you in your workflow:

ToolConfig valueBest for
deltadeltaGit users who want syntax highlighting and line numbers
difftasticdifftLanguage-aware structural diffs that ignore formatting
icdifficdiffQuick side-by-side colored comparisons
diff-so-fancydiff-so-fancyClean, human-readable output
colordiffcolordiffSimple colorized diffs
diff-highlightdiff-highlightWord-level highlighting (ships with Git)
ydiffydiffSide-by-side with word-level highlighting
batbatSyntax highlighting with Git integration

GUI tools

These open a separate window for reviewing changes:

ToolConfig value
VS Codecode
VSCodiumcodium
Meldmeld
KDiff3kdiff3
FileMerge (macOS)opendiff
Vimvimdiff or vim
Neovimnvim

Custom arguments

You can customize tool behavior by including arguments in quotes:

bash
# Enable side-by-side view in delta kiro-cli settings chat.diffTool "delta --side-by-side"

Other tools

Kiro can work with diff tools not listed above. When you configure a tool, Kiro tries two approaches:

  1. Pipes a unified diff to the tool via stdin
  2. Invokes the tool with two temporary file paths as arguments

If neither approach works, Kiro falls back to the built-in inline diff.

Troubleshooting

If you see the error "Couldn't find the diff tool", the tool isn't installed or isn't in your PATH. Verify the tool is accessible:

bash
which delta

If nothing is returned, install the tool first. For example, to install delta:

bash
# macOS brew install git-delta # Ubuntu/Debian sudo apt install git-delta

For other tools, check the tool's documentation for installation instructions.

Page updated: August 4, 2026