UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Last updated May 7, 2026

uip rpa diff

uip rpa diff opens Studio's side-by-side diff window on two files. The files can be of any type — workflows, coded files, plain text — and the comparison is purely visual: Studio renders the differences in a window and the command blocks until the user closes it.

Because the diff is rendered by Studio, the verb works only on Windows runners (Studio is Windows-only).

Synopsis

uip rpa diff --file1-path <string> --file1-title <string> --file2-path <string> --file2-title <string>
uip rpa diff --file1-path <string> --file1-title <string> --file2-path <string> --file2-title <string>

Options

FlagDescription
--file1-path <string>Full path of the first file to compare.
--file1-title <string>Title for the first file as displayed in the diff window.
--file2-path <string>Full path of the second file, compared against the first.
--file2-title <string>Title for the second file as displayed in the diff window.

For the complete option list on your installed tool version, run:

uip rpa diff --help
uip rpa diff --help

Examples

# Compare two revisions of a workflow
uip rpa diff \
  --file1-path C:\work\backup\Main.xaml --file1-title "Main (last release)" \
  --file2-path C:\work\MyProject\Main.xaml --file2-title "Main (current)"

# Compare a generated file with the existing one before overwriting
uip rpa diff \
  --file1-path C:\work\MyProject\Helpers.cs --file1-title "Existing" \
  --file2-path C:\tmp\Helpers.generated.cs --file2-title "Generated"
# Compare two revisions of a workflow
uip rpa diff \
  --file1-path C:\work\backup\Main.xaml --file1-title "Main (last release)" \
  --file2-path C:\work\MyProject\Main.xaml --file2-title "Main (current)"

# Compare a generated file with the existing one before overwriting
uip rpa diff \
  --file1-path C:\work\MyProject\Helpers.cs --file1-title "Existing" \
  --file2-path C:\tmp\Helpers.generated.cs --file2-title "Generated"
  • uip rpa start-studio — Studio renders the diff window; warm it up if you plan to chain multiple verbs.

See also

  • Synopsis
  • Options
  • Examples
  • Related
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated