uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
Last updated May 7, 2026
uip rpa-legacy package packs an RPA project into a deployable .nupkg using the legacy uipcli packager directly. For new pipelines that do not depend on a legacy-only feature, prefer the cross-platform uip rpa pack — it accepts the same project and produces an equivalent NuGet package on Linux, macOS, or Windows.
Windows-only — see the overview warning.
Synopsis
uip rpa-legacy package <project-path> -o <output-dir> [options]
uip rpa-legacy package <project-path> -o <output-dir> [options]
<project-path>(required) — Path to the RPA project orproject.json.
Options
| Flag | Description |
|---|---|
-o, --output <path> | Output directory for the generated .nupkg. |
-v, --version <version> | Package version. |
--auto-version | Auto-generate package version. |
--output-type <type> | Force output type (Process, Library, Tests, Objects). |
--split-output | Split output into runtime and design libraries. |
--repository-url <url> | Source repository URL. |
--repository-commit <sha> | Source repository commit SHA. |
--repository-branch <branch> | Source repository branch. |
--repository-type <type> | Source repository type. |
--project-url <url> | Automation Hub project URL. |
--release-notes <text> | Release notes for the package. |
--timeout <seconds> | Timeout in seconds for the operation. |
Examples
# Pack a project to ./out with an explicit version
uip rpa-legacy package ./MyProject -o ./out --version 1.4.0
# Pack a library with auto-versioning and split runtime/design output
uip rpa-legacy package ./MyLibrary -o ./out \
--output-type Library --auto-version --split-output
# Pack with VCS metadata embedded for traceability
uip rpa-legacy package ./MyProject -o ./out \
--version 1.4.0 \
--repository-url https://github.com/acme/automations \
--repository-branch main \
--repository-commit a1b2c3d4e5f6 \
--release-notes "Adds invoice routing rules."
# Pack a project to ./out with an explicit version
uip rpa-legacy package ./MyProject -o ./out --version 1.4.0
# Pack a library with auto-versioning and split runtime/design output
uip rpa-legacy package ./MyLibrary -o ./out \
--output-type Library --auto-version --split-output
# Pack with VCS metadata embedded for traceability
uip rpa-legacy package ./MyProject -o ./out \
--version 1.4.0 \
--repository-url https://github.com/acme/automations \
--repository-branch main \
--repository-commit a1b2c3d4e5f6 \
--release-notes "Adds invoice routing rules."
Related
uip rpa-legacy validate— validate before packaging.uip rpa-legacy debug— debug a workflow before packaging.uip rpa pack— cross-platform packager; prefer it for non-legacy projects.uip rpa-legacy— tool overview.