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 solution pack produces a deployable .zip package from a solution directory (containing a .uipx manifest) or from a .uis bundle file. The resulting archive is what uip solution publish uploads to the tenant feed, which uip solution deploy run can then deploy.
Pack is an offline operation — it does not contact Orchestrator — so it is safe to run inside build steps that do not yet have credentials.
Synopsis
uip solution pack <solutionPath> <outputPath> [--name <name>] [--version <version>] [--login-validity <minutes>]
uip solution pack <solutionPath> <outputPath> [--name <name>] [--version <version>] [--login-validity <minutes>]
The command honours the global options and returns the standard exit codes.
Arguments
<solutionPath>(required) — Path to a solution directory (containing a.uipxmanifest) or a.uisfile.<outputPath>(required) — Output directory where the.zippackage will be written. The directory must exist; it is not created for you.
Options
-n, --name <name>— Package name. Defaults to the solution folder name (or the.uisfile's base name). The packaged.zipis named<name>.<version>.zip.-v, --version <version>— Package version. Defaults to1.0.0. Appears in the output filename and is the value passed to--package-versionondeploy run.--login-validity <minutes>— Minimum minutes before token expiration to trigger a refresh. Defaults to10. Only relevant when pack's internal bundling step needs to resolve remote resources.
Examples
Minimal
uip solution pack ./my-solution ./dist
uip solution pack ./my-solution ./dist
Packs the solution at ./my-solution into ./dist/my-solution.1.0.0.zip (default version).
Common — pin name and version for a CI build
uip solution pack ./my-solution ./dist --name invoices --version 1.2.0
uip solution pack ./my-solution ./dist --name invoices --version 1.2.0
Writes ./dist/invoices.1.2.0.zip.
Scripting — capture the output path for the publish step
PKG=$(uip solution pack ./my-solution ./dist --version 1.2.0 --output-filter "Data.Output" --output plain)
uip solution publish "$PKG"
PKG=$(uip solution pack ./my-solution ./dist --version 1.2.0 --output-filter "Data.Output" --output plain)
uip solution publish "$PKG"
Data shape (--output json)
{
"Code": "SolutionPack",
"Data": {
"Package": "my-solution.1.2.0.zip",
"Output": "./dist/my-solution.1.2.0.zip"
}
}
{
"Code": "SolutionPack",
"Data": {
"Package": "my-solution.1.2.0.zip",
"Output": "./dist/my-solution.1.2.0.zip"
}
}
Package— basename of the generated.zip.Output— path to the.zipon disk, relative or absolute depending on<outputPath>.
Related commands
uip solution publish— uploads the packed.zipto the tenant solution feed.uip solution upload— alternative path that uploads the solution to Studio Web for interactive editing instead of packaging it for deployment.uip solution deploy run— deploys a published package to Orchestrator.
See also
- Your first pipeline — pack → publish → deploy run walkthrough.
uip solutionoverview.