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 maestro authoring
- uip maestro registry
- uip model-hub
- 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 tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip solution restore
Syntax and options for `uip solution restore`, which resolves NuGet dependencies for every project in a UiPath solution.
uip solution restore resolves NuGet dependencies for every project in a solution using the authenticated session. It resolves dependencies in place — it does not produce a package. Run it before uip solution pack.
Synopsis
uip solution restore <solutionPath> [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]
uip solution restore <solutionPath> [--nuget-sources-config-path <path>] [--exclude-configured-sources] [--feed-folder <name>] [--login-validity <minutes>]
Arguments
| Name | Required | Purpose |
|---|---|---|
<solutionPath> | yes | Path to a solution directory (containing .uipx) or a .uis file. |
Options
| Long | Value | Default | Description |
|---|---|---|---|
--nuget-sources-config-path | path | — | Path to a NuGet sources configuration file. |
--exclude-configured-sources | flag | off | Resolve project dependencies only from tenant feeds and --nuget-sources-config-path. Drops the built-in UiPath and nuget.org feeds — a dependency not on those feeds fails to restore. |
--feed-folder | name or path | — | Resolve project dependencies from this Orchestrator folder's library feed instead of every tenant feed. |
--login-validity | minutes | 10 | Minimum minutes before token expiration to trigger a refresh. |
Examples
uip solution restore ./my-solution
uip solution restore ./my-solution
Data shape (--output json)
{
"Code": "SolutionRestore",
"Data": {
"Solution": "my-solution",
"Status": "Restored"
}
}
{
"Code": "SolutionRestore",
"Data": {
"Solution": "my-solution",
"Status": "Restored"
}
}
Exit codes
See Exit codes for the shared contract.
Related commands
uip solution cleanup— remove unused items (shares the same NuGet-source flags).uip solution pack— package the solution after restoring.
See also
- Global options and Exit codes — contracts shared by every verb.