UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip codedapp publish

Syntax and options for `uip codedapp publish`, which uploads a `.nupkg` to UiPath and registers the coded app.

uip codedapp publish uploads a packaged .nupkg to UiPath and registers the coded app. It reads packages from --uipath-dir (default ./.uipath); pass --name (and optionally --version) to publish non-interactively, otherwise the tool prompts. --type controls whether the package registers as a Web app or an Action — when omitted, it is auto-detected from action-schema.json in the current directory (Action when present, Web otherwise), with an interactive confirm before switching to Action.

Synopsis

uip codedapp publish [options]
uip codedapp publish [options]

Options

FlagDescription
-n, --name <name>Package name (non-interactive).
-v, --version <version>Package version (requires --name).
-t, --type <type>App type: Web or Action. No static default — auto-detected from action-schema.json (Action if present, Web otherwise); interactive sessions get a confirm before switching to Action.
--personal-workspacePublish into the current user's Personal Workspace feed instead of the tenant feed.
--uipath-dir <dir>Directory containing the packages to publish. Default: ./.uipath.
--base-url <url>UiPath base URL (auth override).
--org-id <id>Organization ID (auth override).
--org-name <name>Organization name (auth override), used in place of --org-id when the ID is not provided.
--tenant-id <id>Tenant ID (auth override).
--tenant-name <name>Tenant name (auth override).
--access-token <token>Access token (auth override).

Examples

# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"

# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action

# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages

# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace
# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"

# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action

# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages

# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace

Data shape (--output json)

{
  "Code": "PublishCompleted",
  "Data": { "message": "Package published successfully." }
}
{
  "Code": "PublishCompleted",
  "Data": { "message": "Package published 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