UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Last updated May 7, 2026

uip codedapp pack

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

FlagDescription
-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-runShow what would be packaged without writing the archive.
--reuse-clientReuse 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." }
}

See also

  • Synopsis
  • Options
  • Examples
  • Data shape (--output json)
  • Related
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated