UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Última actualización 7 de may. de 2026

uip solution pack

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.

Argumentos

  • <solutionPath> (required) — Path to a solution directory (containing a .uipx manifest) or a .uis file.
  • <outputPath> (required) — Output directory where the .zip package will be written. The directory must exist; it is not created for you.

Opciones

  • -n, --name <name> — Package name. Defaults to the solution folder name (or the .uis file's base name). The packaged .zip is named <name>.<version>.zip.
  • -v, --version <version> — Package version. Defaults to 1.0.0. Appears in the output filename and is the value passed to --package-version on deploy run.
  • --login-validity <minutes> — Minimum minutes before token expiration to trigger a refresh. Defaults to 10. Only relevant when pack's internal bundling step needs to resolve remote resources.

Ejemplos

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 .zip on disk, relative or absolute depending on <outputPath>.

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado