uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
Last updated May 7, 2026
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
| Flag | Description |
|---|---|
--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"
Related
uip rpa start-studio— Studio renders the diff window; warm it up if you plan to chain multiple verbs.