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
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Redline --version 5.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.