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-legacy validate checks a XAML workflow or an entire project for compilation errors — missing arguments, broken references, type mismatches. Use it as a fast pre-package gate when the cross-platform uip rpa build is not an option (for example, on a Windows-Legacy project).
Windows-only — see the overview warning.
Synopsis
uip rpa-legacy validate <path> [options]
uip rpa-legacy validate <path> [options]
<path>(required) — Path to a XAML file,project.json, or project folder to validate.
Options
| Flag | Description |
|---|---|
--result-path <path> | Write validation results to a JSON file instead of stdout. |
--timeout <seconds> | Timeout in seconds for the operation. |
Examples
# Validate an entire project
uip rpa-legacy validate ./MyProject/project.json
# Validate a single XAML, write results to a file for the next CI step
uip rpa-legacy validate ./MyProject/Main.xaml --result-path ./validation.json
# Allow up to 10 minutes for a large project
uip rpa-legacy validate ./MyProject --timeout 600
# Validate an entire project
uip rpa-legacy validate ./MyProject/project.json
# Validate a single XAML, write results to a file for the next CI step
uip rpa-legacy validate ./MyProject/Main.xaml --result-path ./validation.json
# Allow up to 10 minutes for a large project
uip rpa-legacy validate ./MyProject --timeout 600
Related
uip rpa-legacy debug— run a workflow once it validates.uip rpa-legacy package— pack the project after validation passes.uip rpa analyze— run the workflow analyzer on cross-platform projects.uip rpa build— cross-platform compile gate; prefer it for non-legacy projects.uip rpa-legacy— tool overview.