uipath-cli
latest
false
UiPath CLI user guide
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- 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-library-object-repository
- get-object-repository
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- pack
- publish
- remote
- restore
- run, debug & execution
- run-file
- search-templates
- start-studio
- stop-execution
- tm
- uia
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
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
| Flag | Description |
|---|---|
-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-workspace | Publish 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." }
}
Related
- uip codedapp pack — produce the
.nupkgthatpublishuploads. - uip codedapp deploy — deploy or upgrade the app once it's published.