UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Letzte Aktualisierung 7. Mai 2026

First commands (quickstart)

This quickstart walks through five commands that take you from a fresh install to a job running in Orchestrator. Allow five minutes.

Bevor Sie beginnen

  • Install UiPath CLI. See Installing UiPath CLI.
  • Have a UiPath Automation Cloud or Automation Suite account with access to at least one tenant.
  • Know the name (or path) of a folder in Orchestrator that contains at least one process. The default folder Shared works for most trials.

Open a terminal. All commands below are typed there.

Step 1. Sign in

Start the interactive login:

uip login
uip login

uip opens your default browser, prompts you to sign in to UiPath, and after you authenticate, asks you to pick a tenant. When the browser tab reports success, return to the terminal — the session is active. The session is persisted inside ~/.uipath/ (or a project-local .uipath/ folder if one exists in the current folder or an ancestor).

Tipp:

If you already know the tenant and want to skip the picker, run uip login --tenant DefaultTenant. If you are in a CI environment, see Authentication for the non-interactive flows.

Step 2. Confirm the session

uip login status --output table
uip login status --output table

Erwartete Ausgabe:

Status         Organization   Tenant          Expiration Date
Logged in      my-org         DefaultTenant   2026-04-24T18:42:00Z
Status         Organization   Tenant          Expiration Date
Logged in      my-org         DefaultTenant   2026-04-24T18:42:00Z
Hinweis:

Every uip command emits JSON by default. Pass --output table for the reading-friendly view. See Global options for the four output formats (table, json, yaml, plain) and the JMESPath --output-filter flag.

If the command reports Not logged in, re-run uip login.

Step 3. List folders

Your first real query hits Orchestrator:

uip or folders list
uip or folders list

This returns the first 50 folders in the tenant. The output includes each folder's Key (GUID), Name, Path, and Type.

To filter or look deeper, pass --all to unlock filters:

uip or folders list --all --name Shared
uip or folders list --all --top-level
uip or folders list --all --name Shared
uip or folders list --all --top-level
Hinweis:

--all is required before the filter flags (--name, --path, --type, --top-level, --order-by) have any effect. This is a deliberate safety net — a typo in a filter on a large tenant would otherwise silently return the unfiltered first page.

Step 4. Find a process to run

Pick a folder from Step 3 — Shared is used here as an example — and list its processes:

uip or processes list --folder-path Shared
uip or processes list --folder-path Shared

The output shows each process's Key (GUID), Name, Version, and Type. Copy the Key of a process you want to run. Replace <process-key> in the next step with that GUID.

Step 5. Start a job

uip or jobs start <process-key>
uip or jobs start <process-key>

uip returns immediately after Orchestrator accepts the request. The response shows the new job's Key, State (usually Pending at first), and the resolved ProcessName.

To block until the job finishes and see its output, add --wait-for-completion:

uip or jobs start <process-key> --wait-for-completion --timeout 600
uip or jobs start <process-key> --wait-for-completion --timeout 600

With --wait-for-completion, the command polls every five seconds (by default) and exits when the job reaches a terminal state (Successful, Faulted, Stopped). The exit code is non-zero on Faulted. --timeout is in seconds and defaults to 300.

Pass input arguments with --input-arguments (JSON string) or --input-file (path to a JSON file):

uip or jobs start <process-key> \
  --input-arguments '{"invoiceNumber":"INV-001","customer":"Contoso"}'
uip or jobs start <process-key> \
  --input-arguments '{"invoiceNumber":"INV-001","customer":"Contoso"}'

What you just did

In five commands you authenticated, queried two Orchestrator resources, and started a job. Every uip command follows the same shape — uip <tool> <resource> <verb> for tools with multiple resources, or uip <tool> <verb> for single-workflow tools — and every one supports the same global flags for output format, filtering, and logging. See Global options.

Nächste Schritte

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben