UiPath bietet eine Befehlszeilenschnittstelle (CLI), mit der Sie bestimmte vordefinierte Aufgaben für die Verwaltung und das Testen von RPA-Paketen ausführen können. Der Zweck der UiPath CLI besteht darin, diese Funktionen ohne Plugin einfach in Tools von Drittanbietern wie GitLab, Jenkins und viele andere zu integrieren.
Häufige Anwendungsfälle für die UiPath-CLI sind:
- Packen von Studio-Projekten in NuGet-Pakete.
- Bereitstellen von NuGet-Paketen im Orchestrator.
- Ausführen von Aufträgen im Orchestrator.
- Ausführen von Testsätzen im Orchestrator.
UiPath CLI besteht aus zwei Typen:
- UiPath.CLI.Windows
- Wird nur auf Windows-Geräten ausgeführt.
- Builds Windows - Legacy, Windows, and Cross-platform projects.
- UiPath.CLI
- Läuft nur auf Linux-Geräten.
- Builds only Cross-platform projects.
Voraussetzungen
-
For UiPath.CLI, install .NET 6.0.7, that comes with the 6.0.302 SDK.
-
For UiPath.CLI.Windows, install .NET 6.0.7, that must include .NET 6.0.7 Desktop Runtime, that come with the 6.0.302 SDK.
Herunterladen der CLI
You can download any version of the UiPath CLI from the UiPath Official Public Feed, to find the right version for your project, review the compatibility matrix below.
- Go to the UiPath Official Public Feed.
- In the Filter by keywords search bar, type
uipath.cli
. - Wählen Sie eine der folgenden Optionen aus:
- UiPath.CLI
- UiPath.CLI.Windows
- Go to the Versions tab, and select a version of the CLI that you want to download.
- Select Download.
- Öffnen Sie den Ordner, in den die NUPKG-Datei heruntergeladen wurde, klicken Sie mit der rechten Maustaste darauf und extrahieren Sie die Datei in einen Ordner.
Results: A folder with the same name as the NUPKG file is created. This folder holds the contents of the UiPath CLI. The entrypoint for all operations is uipcli.exe
(for UiPath.CLI.Windows), or uipcli.dll
(for UiPath.CLI), located in the tools
folder.
UiPath.CLI.Windows compatibility matrix
Die Version von UiPath Studio, die Sie zum Erstellen Ihrer Projekte verwenden, muss mit der Version von UiPath.CLI.Windows übereinstimmen. Die folgende Kompatibilitätsmatrix ist beispielsweise für Projekte verfügbar, die mit Studio Version 2022.10.3 erstellt wurden.
Legend: - compatible, - not compatible
Orchestrator | Project Type | UiPath CLI 22.10 |
---|---|---|
2021.10.x On-premises | Windows - Legacy | |
2021.10.x On-premises | Windows | |
2021.10.x On-premises | Cross-platform | |
2021.10.x PaaS | Windows - Legacy | |
2021.10.x PaaS | Windows | |
2021.10.x PaaS | Cross-platform | |
2022.4.x | Windows - Legacy | |
2022.4.x | Windows | |
2022.4.x | Cross-platform | |
2022.10.x | Windows - Legacy | |
2022.10.x | Windows | |
2022.10.x | Cross-platform | |
Cloud | Windows - Legacy | |
Cloud | Windows | |
Cloud | Cross-platform |
UiPath.CLI compatibility matrix
Die Version von UiPath Studio, die Sie zum Erstellen Ihrer Projekte verwenden, muss mit der Version von UiPath.CLI übereinstimmen. Wenn Sie beispielsweise Projekte mit UiPath Studio 2021.10 erstellen, Sie müssen die Version 21.10 von UiPath.CLI verwenden.
Legend: - compatible, - not compatible
Orchestrator | Project Type | UiPath.CLI 22.10 | UiPath.CLI 22.4 | UiPath.CLI 21.10 |
---|---|---|---|---|
2021.10.x On-premises | Windows - Legacy | |||
2021.10.x On-premises | Windows | |||
2021.10.x On-premises | Cross-platform | |||
2021.10.x PaaS | Windows - Legacy | |||
2021.10.x PaaS | Windows | |||
2021.10.x PaaS | Cross-platform | |||
2022.4.x | Windows - Legacy | |||
2022.4.x | Windows | |||
2022.4.x | Cross-platform | |||
2022.10.x | Windows - Legacy | |||
2022.10.x | Windows | |||
2022.10.x | Cross-platform | |||
Cloud | Windows - Legacy | |||
Cloud | Windows | |||
Cloud | Cross-platform |
Aktualisiert vor 2 Monaten