uipath-cli
2026.10
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 maestro authoring
- uip maestro registry
- uip model-hub
- uip ont
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip resources
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip solution download
Syntax and options for `uip solution download`, which downloads and extracts a Studio Web solution.
uip solution download downloads (exports) a solution from Studio Web as a .uis archive. Pass --extract to also unpack it into a directory.
Synopsis
uip solution download <solution-id> [-d <destination>] [-n <name>] [--extract]
uip solution download <solution-id> [-d <destination>] [-n <name>] [--extract]
Arguments
| Name | Required | Purpose |
|---|---|---|
<solution-id> | yes | Studio Web solution ID. A project key, process key, deployment key, or package name is not accepted. |
Options
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
-d | --destination | dir | current dir | Destination directory for the downloaded file. |
-n | --name | text | the solution ID | Output filename, without extension. Existing files are overwritten; --extract uses this name for the extracted directory too. Must be a plain filename — no path separators or ... |
| — | --extract | flag | off | Extract the downloaded .uis archive into a directory, and write AGENTS.md / CLAUDE.md briefing files there if the archive didn't already carry them. |
Examples
uip solution download a1b2c3d4-0000-0000-0000-000000000001 \
--destination ./downloads --extract
uip solution download a1b2c3d4-0000-0000-0000-000000000001 \
--destination ./downloads --extract
Data shape (--output json)
{
"Code": "SolutionDownload",
"Data": {
"Status": "Solution exported successfully",
"SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
"Output": "./downloads/a1b2c3d4-0000-0000-0000-000000000001.uis",
"ExtractedTo": "./downloads/a1b2c3d4-0000-0000-0000-000000000001",
"BriefingFiles": [
"./downloads/a1b2c3d4-0000-0000-0000-000000000001/AGENTS.md",
"./downloads/a1b2c3d4-0000-0000-0000-000000000001/CLAUDE.md"
]
}
}
{
"Code": "SolutionDownload",
"Data": {
"Status": "Solution exported successfully",
"SolutionId": "a1b2c3d4-0000-0000-0000-000000000001",
"Output": "./downloads/a1b2c3d4-0000-0000-0000-000000000001.uis",
"ExtractedTo": "./downloads/a1b2c3d4-0000-0000-0000-000000000001",
"BriefingFiles": [
"./downloads/a1b2c3d4-0000-0000-0000-000000000001/AGENTS.md",
"./downloads/a1b2c3d4-0000-0000-0000-000000000001/CLAUDE.md"
]
}
}
ExtractedTo and BriefingFiles are only present when --extract is passed. BriefingFiles lists only the files this command wrote — if the archive already had AGENTS.md/CLAUDE.md, the field is omitted.
Failure modes
- Studio Web has no solution with that ID that the session can read. Fails with
ErrorCode: not_foundandRetry: RetryWillNotFix. To recover the source of a deployed solution, runuip solution deploy list --folder-path <parent-folder>for itsPackageNameandPackageVersion, thenuip solution packages download <package-name> <package-version>. That command reportsData.SolutionId, which is the ID to pass here when the solution is in Studio Web. Otherwise the downloaded.zipis the published package itself.
Exit codes
See Exit codes for the shared contract.
Related commands
uip solution delete— delete a Studio Web solution by ID.uip solution packages download— download a published package and read the ID of the solution it was packed from.
See also
- Global options and Exit codes — contracts shared by every verb.