# Migration overview

> Migration overview for teams moving from the legacy .NET CLI to UiPath CLI, with links to the command map, flag renames, breaking changes, and pipeline examples.

The Migration section is for teams moving from the legacy **`.NET CLI` (`uipcli.exe` / `dotnet uipcli.dll`, calendar-versioned `2025.10` and earlier)** to **UiPath CLI 1.x (`uip`, TypeScript on npm)**. The two CLIs are different binaries with different command shapes, auth models, and output formats — this section gives you the mapping.

If you are starting fresh on 1.x and have no legacy pipelines to migrate, **skip this section** and go straight to [Get started](./quickstart.md) and [How-to guides](./howto-overview.md).

## The four pages

| Page | What it covers | Read it when |
|---|---|---|
| [Migrating from the legacy .NET CLI](./migration-from-dotnet-cli.md) | The narrative overview: what changed and why. Headline differences in runtime, distribution, scope, and output. | Read first — sets context for the other three. |
| [Command map](./migration-command-map.md) | Per-verb mapping (`uipcli package pack` → `uip rpa pack`, etc.) with classification (1:1, 2 steps, removed). Before/after snippets. | When you are porting a specific `uipcli` invocation. |
| [Flag renames](./migration-flag-renames.md) | Per-flag mapping inside each verb (`--governanceFilePath` → `--governance-file-path`, `-A/--accountForApp` → `--organization`, etc.). | When you have a verb mapped but a flag is missing or renamed. |
| [Breaking changes](./migration-breaking-changes.md) | Semantic shifts that affect every command: auth modes removed, implicit env-var reading removed, exit-code contract, stdout format. | Before any porting — these apply across the board. |

## Recommended migration order

For a typical CI pipeline migration:

1. **Migrating from the legacy .NET CLI** → understand the runtime and distribution change (`.NET` → Node/Bun, MyGet → npm).
2. **Breaking changes** → before you change a single line, know what the cross-cutting differences are. Auth alone may break your pipeline.
3. **Command map** → walk your existing `uipcli` calls one by one. Note the rows marked **2 steps** or **N steps** — they need new shell logic, not a simple rename.
4. **Flag renames** → fill in per-flag detail.
5. Then a [CI/CD recipe](./recipes-azure-devops.md) for your platform — copy and adapt.

## Quick-start for the impatient

The minimum viable port:

```bash
# Legacy
uipcli package pack <project> -o <out>
uipcli package deploy <pkg> <url> <tenant> -A <org> -I <id> -S <secret> --processName <name>

# New (uip)
uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <tenant>
uip rpa pack <project>
uip or packages upload <pkg>
uip or processes create --name <name> --package-key <key> --package-version <v> --folder-path Shared
```

Full per-flag detail is in [Flag renames](./migration-flag-renames.md).

## What's *not* in Migration

- **New features in 1.x** that have no legacy equivalent (skills, MCP, sessions, JMESPath filtering). Those live in [What's new](./whats-new.md).
- **The legacy CLI's documentation.** It still lives at the [CI/CD integrations docs](https://docs.uipath.com/cicd-integrations/), which remain canonical for `2025.10` and earlier.

## See also

- [What's new](./whats-new.md) — headline summary, target audience: anyone deciding whether to migrate.
- [Versioning and stability](./versioning.md) — the contract you can rely on after migrating.
- [Authentication](./authentication.md) — the auth flow your pipeline will use post-migration.
