Redline 5.4.2

dotnet tool install --global Redline --version 5.4.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Redline --version 5.4.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Redline&version=5.4.2
                    
nuke :add-package Redline --version 5.4.2
                    

Redline

A command-line tool for comparing Word documents and generating redlines with tracked changes.

Installation

As a .NET Global Tool

dotnet tool install --global Redline

Usage

redline <original.docx> <modified.docx> <output.docx> [--author=<name>]

Arguments

Argument Description
original.docx Path to the original document
modified.docx Path to the modified document
output.docx Path for the output redline document

Options

Option Description
--author=<name> Author name for tracked changes (default: "Redline")
-h, --help Show help message
-v, --version Show version information

Examples

Basic comparison:

redline contract-v1.docx contract-v2.docx redline.docx

With custom author tag:

redline draft.docx final.docx changes.docx --author="Legal Review"

Output

The tool generates a Word document with tracked changes (revisions) showing:

  • Insertions: Text added in the modified document
  • Deletions: Text removed from the original document
  • Formatting changes: Style and formatting differences

Open the output document in Microsoft Word or another compatible word processor to review and accept/reject changes.

Environment Variables

  • REDLINE_DEBUG=1: Show detailed error information including stack traces

License

MIT License - see LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
5.4.2 136 1/26/2026
5.4.1 89 1/21/2026
5.4.0 185 12/24/2025
5.3.0 156 12/21/2025
5.2.0 142 12/6/2025
5.1.2 193 12/4/2025