UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Dernière mise à jour 7 mai 2026

uip rpa analyze

uip rpa analyze runs the UiPath workflow analyzer against a Studio project, reporting rule violations against a governance policy. It is the modern replacement for uipcli package analyze from the legacy .NET CLI — see Migration — package analyze for the full flag-to-flag map.

Avertissement :

Prérequis runtime

  • .NET runtime must be available on the runner — the workflow analyzer is .NET-backed. See Breaking changes — .NET runtime.
  • Windows runner for Windows projects. Cross-platform projects (targetFramework: "Portable") analyze on any OS. Windows projects (targetFramework: "Windows") require a Windows runner. See uip rpa overview for the full project-flavor matrix.

Synopsis

uip rpa analyze <project> --governance-file-path <policy> [options]
uip rpa analyze <project> --governance-file-path <policy> [options]
  • <project> — path to the Studio project (a directory containing project.json).
  • --governance-file-path <policy> — path to the governance JSON file that enumerates the workflow-analyzer rules and severities to apply.

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

uip rpa analyze --help
uip rpa analyze --help

The flag set mirrors legacy uipcli package analyze in concept: a results-output file (--result-path), a fail-on-severity threshold (--stop-on-rule-violation), and optional rule-selection flags. Flag names are kebab-case (--governance-file-path, --result-path, --stop-on-rule-violation) rather than the PascalCase used by uipcli.

Migration from the legacy .NET CLI

Legacy .NET CLIModern CLI
uipcli package analyze <project>uip rpa analyze <project>
--governance-file-path <policy>--governance-file-path <policy>

See Migration — package analyze for the full flag-level map.

  • uip rpa pack — run before or after packaging.
  • uip rpa restore — ensure dependencies are present on disk so activities resolve for analysis.

Voir également

  • Synopsis
  • Migration from the legacy .NET CLI
  • Related
  • Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour