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 codedapp pack packages a built coded app into a .nupkg archive ready for publication. It reads the <dist> directory, applies the supplied package metadata, and writes the archive to --output (defaults to ./.uipath). Use --dry-run to preview the file list without writing the archive.
Synopsis
uip codedapp pack <dist> [options]
uip codedapp pack <dist> [options]
<dist>— path to the dist folder containing the built application.
Options
| Flag | Description |
|---|---|
-n, --name <name> | Package name. |
-v, --version <version> | Package version. Default: 1.0.0. |
-o, --output <dir> | Output directory. Default: ./.uipath. |
--author <author> | Package author. Default: UiPath Developer. |
--description <desc> | Package description. |
--main-file <file> | Main entry file. Default: index.html. |
--content-type <type> | Content type: webapp, library, or process. Default: webapp. |
--dry-run | Show what would be packaged without writing the archive. |
--reuse-client | Reuse an existing clientId from uipath.json rather than issuing a new one. |
--base-url <url> | UiPath base URL (auth override). |
--org-id <id> | Organization ID (auth override). |
--tenant-id <id> | Tenant ID (auth override). |
--access-token <token> | Access token (auth override). |
Examples
# Default — writes ./.uipath/MyApp.1.0.0.nupkg
uip codedapp pack ./dist --name "MyApp" --version "1.0.0"
# Custom output directory and author
uip codedapp pack ./dist \
--name "MyApp" --version "2.0.0" \
--output ./packages \
--author "Contoso Ltd."
# Preview the file list — no archive written
uip codedapp pack ./dist --name "MyApp" --dry-run
# Default — writes ./.uipath/MyApp.1.0.0.nupkg
uip codedapp pack ./dist --name "MyApp" --version "1.0.0"
# Custom output directory and author
uip codedapp pack ./dist \
--name "MyApp" --version "2.0.0" \
--output ./packages \
--author "Contoso Ltd."
# Preview the file list — no archive written
uip codedapp pack ./dist --name "MyApp" --dry-run
Data shape (--output json)
{
"Code": "PackCompleted",
"Data": { "message": "Package created successfully." }
}
{
"Code": "PackCompleted",
"Data": { "message": "Package created successfully." }
}
Related
- uip codedapp push — ship the source to Studio Web before packaging it.
- uip codedapp publish — upload the resulting
.nupkgto UiPath.