# About UiPath CLI

> Architecture and capabilities of UiPath CLI, the cross-platform command-line interface for building and operating UiPath automations.

:::note
UiPath CLI reached **General availability** at version 1.197.0 (July 31, 2026). All releases before 1.197.0 were preview releases and could include breaking changes between versions.
:::

UiPath Command-Line Interface (**UiPath CLI**, invoked as `uip`) is the cross-platform command-line tool for the UiPath platform. It lets developers, RPA engineers, and DevOps teams **build, manage, operate, and deploy** UiPath automations — Orchestrator jobs and resources, Solutions, Agents, Flows, Maestro processes, Test Manager assets, and more — from a terminal or a CI/CD pipeline.

UiPath CLI is distributed on npm and follows **semantic versioning** (`MAJOR.MINOR.PATCH`). This replaces the calendar-based scheme used up to `2025.10` and the legacy .NET CLI (`uipcli.exe`).

:::note
This is the documentation for UiPath CLI (the TypeScript-based `uip` command). For the legacy .NET CLI (`uipcli.exe` / `dotnet uipcli.dll`), see the [CI/CD integrations 2025.10 docs](https://docs.uipath.com/cicd-integrations/standalone/2025.10/user-guide/about-uipath-cli). A [migration guide](./migration-from-dotnet-cli.md) is available.

For the **Azure DevOps extension**, **Jenkins plugin**, and other pipeline integrations, see [CI/CD integrations](https://docs.uipath.com/cicd-integrations/).
:::

## More than a CI/CD tool

Earlier UiPath command-line tooling focused on CI/CD tasks — pack, analyze, deploy, run tests. UiPath CLI 1.x keeps all of that and adds the full platform surface. You can use `uip` to:

- **Build** — scaffold projects (`uip solution init`, `uip agent init`, `uip maestro flow init`, `uip maestro bpmn init`), pack (`uip rpa pack`, `uip solution pack`), and analyze (`uip rpa analyze` with governance policies).
- **Manage** — work with Orchestrator folders, users, roles, and licenses; create and update assets, queues, storage buckets, libraries, triggers, and webhooks; administer Test Manager projects, test sets, and results; manage Integration Service connectors and connections.
- **Operate** — start, stop, and inspect Orchestrator jobs; monitor Flow and Maestro instances and incidents; run Agents and evaluate them against datasets; execute test sets and read results.
- **Deploy** — upload packages, create and update processes, publish Solutions and Agents, activate or uninstall Solution deployments.

This is the same tool whether you are a developer exploring the platform from a laptop or a pipeline doing unattended deployments. The verbs, flags, output formats, and exit codes are the same in both contexts.

## Designed for humans *and* coding agents

UiPath CLI is designed to be consumed equally well by two audiences:

- **Humans** — a terminal-first experience with interactive `uip login`, shell tab completion (`uip completion`), colored `--output table` view, and help embedded on every command (`uip <cmd> --help`).
- **Coding agents** — the `uip skills` system installs UiPath skills into coding agents so they know *how* to build, deploy, and operate UiPath automations with `uip` — not just *which* commands exist. Supported agents: **Claude Code**, **Cursor**, **GitHub Copilot**, **Codex**, **OpenCode**, **UiPath Autopilot**, **Kiro (Amazon Q)**, **Windsurf**, **Antigravity CLI**, and **Devin**.

`uip skills install` fetches the full UiPath skill catalog from GitHub and installs it into one or more coding agents. You pick the target **agents** (not individual skills — the agent itself decides which skill applies to a given task) either by passing `--agent <name>` or interactively from a checkbox prompt when the flag is omitted. By default the install is global; add `--local` to scope skills to the current project (where the agent supports it — Claude Code is global-only, for example).

```bash
uip skills install                         # prompts you to pick one or more agents
uip skills install --agent claude          # non-interactive, skills installed globally for Claude Code
uip skills install --agent cursor --local  # non-interactive, skills installed into the current project for Cursor
uip skills update --agent claude           # re-fetch and reinstall to pick up new skills
uip skills uninstall --agent claude        # remove skills for Claude Code
```

The same commands work either way. A `uip` invocation that a developer types by hand is the exact same call an agent makes — which means your team can build an automation interactively, pipe the exact sequence into a script, and hand it to an AI agent to iterate further.

Output is **JSON by default** — the same on a developer laptop and in a pipeline, so scripts do not need to branch on whether they are running interactively. Add `--output table` for the reading-friendly view, `--output yaml` for YAML, or `--output plain` for `key=value` lines. JMESPath filtering of the `Data` field is available via `--output-filter "[*].Name"`.

## How UiPath CLI is organized

`uip` is a small host with a plugin system. The host handles authentication, session management, configuration, and tool lifecycle. Everything else — Orchestrator, Solution, Agent, Flow, Maestro, RPA, Test Manager, and so on — ships as an installable **tool** on npm.

```bash
uip <tool> <resource-or-command> [subcommand] [options]
```

Examples:

```bash
uip login                                # core command
uip or jobs list                         # orchestrator jobs (manage + operate)
uip solution pack ./MySolution ./dist    # solution packing (build)
uip rpa analyze ./MyProject              # workflow analyzer (build)
uip agent validate ./MyAgent             # agent validation (build)
uip solution deploy run --name Invoices --package-name MySolution \
  --package-version 1.0.0 --folder-name Invoices   # solution deployment (deploy)
```

A fresh `npm install -g @uipath/cli` contains only the host and core commands — **no tools are preinstalled**. The first time you invoke a command whose prefix matches a tool on the whitelist, the host installs that tool from npm automatically. You can also install tools explicitly with `uip tools install <name>` — useful for offline preparation and CI runners. See [Tools (plugins)](./concepts-tools.md) for details.

## Built-in tools

The tools below are the core platform-automation surfaces, each on the auto-install whitelist — typing the prefix is enough. Prefixes shown are the canonical names as defined in the host. This is a representative subset, not the full roster: UiPath CLI ships 30+ whitelisted tools in total, covering everything from Orchestrator to governance, LLM configuration, and process mining. See [Tools (plugins)](./concepts-tools.md#the-auto-install-whitelist) for the complete, exact table (kept in sync with the host's whitelist), or the [Command reference](./command-reference.md) for every tool's alias and reference page.

| Tool | Prefix | Purpose |
|---|---|---|
| Orchestrator | `or` | Jobs, folders, processes, packages, machines, users, roles, licenses, feeds, assets, queues, storage buckets, libraries, triggers, webhooks |
| Solution | `solution` | Scaffold, pack, publish, upload, deploy UiPath Solutions |
| RPA | `rpa` | Studio-project packaging, workflow analyzer, dependency restore |
| RPA Legacy | `rpa-legacy` | Windows-only wrapper around `uipcli.exe` for Studio commands not yet ported to the cross-platform `rpa` tool |
| Agent | `agent` | Low-code Agent authoring, packaging, deployment, execution |
| Coded Agent | `codedagent` | Python-based Coded Agents |
| Coded App | `codedapp` | Coded web application projects |
| Maestro | `maestro` | BPMN process authoring/packaging/runtime, plus the `flow` and `case` branches (see note below) |
| Test Manager | `tm` | Test cases, test sets, executions, results, reports |
| Integration Service | `is` | Connectors and connections |
| Vertical Solutions | `vss` | Vertical Solution scaffolding and generation |
| API Workflow | `api-workflow` | Local execution of UiPath API Workflows |
| Data Fabric | `df` | Data Fabric operations |
| Insights | `insights` | Insights dashboards and reporting |
| Traces | `traces` | Execution traces and diagnostics |
| DocsAI | `docsai` | AI-powered UiPath documentation search |
| Eval | `eval` | Runtime evaluation of deployed packages against an Orchestrator process — a standalone package, not a sub-command of `or` |

:::tip
Run `uip --help` to see the exact prefixes in your installation, and `uip tools list` to see which tools are currently installed. Only the allowlisted `@uipath/` tools above are supported in UiPath CLI 1.x; third-party extension is not available yet. **`maestro flow` and `maestro case` are not separately whitelisted tools.** `@uipath/maestro-tool` is the only package on the whitelist for `maestro`; it directly imports `@uipath/flow-tool` and `@uipath/case-tool` as its own dependencies to register the `uip maestro flow` and `uip maestro case` branches. Installing `maestro-tool` pulls both in — there's no separate auto-install trigger for `flow` or `case` on their own.
:::

## Authentication at a glance

UiPath CLI supports five authentication flows. The interactive flow is new in 1.x; External App and environment-variable auth have analogs in the legacy .NET CLI; federated credentials is for workload-identity setups that can't hold a long-lived secret; Robot credentials is for Studio Desktop and other Robot-hosted contexts.

| Flow | When to use it | How to use it |
|---|---|---|
| **Interactive OAuth2 user login** *(new in 1.x)* | Developers working from a terminal. Binds the session to your personal account and its permissions. | `uip login` opens a browser for sign-in and selects a tenant. Session tokens are stored and refreshed automatically. |
| **External App (client credentials)** | CI/CD pipelines, servers, any non-interactive context. Binds the session to an External App you create in UiPath, with explicit scopes. | `uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <name>` — the `env.VAR` prefix reads the secret from an environment variable without exposing it on the command line. |
| **Federated credentials (workload identity)** | CI/CD platforms that can issue their own OIDC tokens (for example, a GitHub Actions or Azure DevOps workload-identity setup) — no long-lived client secret to store or rotate. | `uip login --client-id <app-id> --client-assertion env.OIDC_TOKEN` — an OIDC JWT stands in for the client secret. Requires `--client-id`; mutually exclusive with `--client-secret`. |
| **Environment-variable auth** | Containers and ephemeral runners that already hold a UiPath access token. No browser, no External App round-trip, no on-disk state. | Set `UIPATH_CLI_ENABLE_ENV_AUTH=true` and supply `UIPATH_CLI_AUTH_TOKEN` + organization / tenant variables. Every `uip` command authenticates from the env vars; there is no refresh. |
| **Robot credentials** | Studio Desktop and other UiPath Robot-hosted contexts, authenticating through the Robot already running on the machine. | Set `UIPATH_CLI_ENFORCE_ROBOT_AUTH=true`. Authenticates exclusively through the local Robot's IPC channel; mutually exclusive with environment-variable auth. |

The first three flows all persist a session to a credentials folder. `--profile <name>` (a global flag — see [Global options](./global-options.md)) names a session so multiple logins can coexist side by side, independent of which flow created them; pass the same `--profile` on later commands to reuse that specific session.

See [Authentication](./authentication.md) for the full flow, tenant selection, credential folder layout, and how to pre-configure External Apps for CI.

## UiPath CLI versus the legacy .NET CLI

| Aspect | UiPath CLI (`uip`, 1.x) | Legacy .NET CLI (`uipcli`, 2025.10 and earlier) |
|---|---|---|
| Runtime | Node.js (cross-platform) | .NET 8 (Windows-first) |
| Distribution | `npm install -g @uipath/cli` | `.nupkg` on MyGet / NuGet feed |
| Versioning | Semantic versioning (`1.0.0`, `1.1.0`, …) | Calendar versioning (`2023.10`, `2024.10`, `2025.10`) |
| Scope | **Build, manage, operate, deploy** across the full platform | CI/CD focused — pack, analyze, deploy, run tests |
| Authentication | Interactive OAuth2 (`uip login`) **and** External App (client credentials) | External App (client credentials), plus deprecated basic/token auth |
| Architecture | Modular tools, auto-installed on first use from npm | Monolithic executable |
| Output formats | `table`, `json`, `yaml`, `plain` with JMESPath filtering | Text / JSON (limited) |
| AI integration | Skills system for coding agents | Not available |
| Workflow Analyzer | Preserved as `uip rpa analyze`, with governance-file policy support | Bundled with CLI (`uipcli package analyze`) |
| Dependency restore | Preserved as `uip rpa restore`, with air-gapped and NuGet-config support | Bundled with CLI (`uipcli package restore`) |

If you are starting a new pipeline today, use UiPath CLI 1.x. If you are maintaining existing Azure DevOps or Jenkins pipelines built on `uipcli.exe`, see the [migration guide](./migration-from-dotnet-cli.md) for the command map, flag renames, and breaking changes.

## UiPath CLI versus the CI/CD plugins

UiPath CLI (`uip`) is the **tool**. The Azure DevOps extension, the Jenkins plugin, and similar pipeline integrations are **wrappers** around that tool — they package `uip` invocations behind UI-driven task forms, secure variable injection, and pipeline-native logging. Going forward, newer versions of those plugins will call `uip` internally.

Use the plugin when you want the pipeline UI and variable management. Use `uip` directly (via a `bash` or `pwsh` step) when you want the latest CLI capabilities without waiting for a plugin release, or when you need a command the plugin does not expose.

See [CI/CD integrations](https://docs.uipath.com/cicd-integrations/) for the plugin documentation.

## Supported platforms

UiPath CLI 1.x runs on any platform that supports Node.js 22 or later:

- **Windows** (x64, ARM64)
- **macOS** (x64, ARM64)
- **Linux** (x64, ARM64)

## Stability and release cadence

UiPath CLI follows semantic versioning:

- **MAJOR** — breaking changes to command names, flag semantics, or the JSON envelope. A deprecation cycle precedes any MAJOR release.
- **MINOR** — new commands, new flags, new tools; additive only. Note that the **shape of `Data` in JSON output** is command-specific and may change in MINOR releases; pipelines should pin `@uipath/cli`.
- **PATCH** — bug fixes; no documented behavior change.

Individual commands and tools are labeled **GA**, **Preview**, or **Deprecated**. Preview commands may change without a major version bump; deprecated commands keep working for at least one MAJOR cycle. See [Versioning and stability](./versioning.md) for the full contract.

## Next steps

- **[Install UiPath CLI](./installing-uipath-cli.md)** — set up `uip` on Windows, macOS, or Linux.
- **[Quickstart](./quickstart.md)** — log in, list Orchestrator folders, and run a job in five minutes.
- **[Your first pipeline](./first-pipeline.md)** — pack a project and deploy it from a CI pipeline.
- **[Using UiPath CLI with Coding Agents](https://docs.uipath.com/coding-agents/standalone/latest/user-guide/overview)** — install skills into Claude Code, Cursor, GitHub Copilot, or any other supported agent and let them build UiPath automations with `uip`.
- **[Command reference](./command-reference.md)** — full reference for every command.
- **[Migrating from the legacy .NET CLI](./migration-from-dotnet-cli.md)** — if you are coming from `uipcli.exe`.
