uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- 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-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
Last updated May 7, 2026
uip rpa install-or-update-packages installs (or updates) a set of NuGet packages into the active project in one batch. The list is supplied as a JSON array — each entry needs an id and may include a version; entries that omit version resolve to the latest stable version on the configured feeds. The verb returns the subset of packages that failed to install, if any, so the call is safe to retry with the failed entries.
The package operation runs through Studio, so the verb requires a Windows runner.
Synopsis
uip rpa install-or-update-packages --packages <string> [--nuget-sources-config-path <string>]
uip rpa install-or-update-packages --packages <string> [--nuget-sources-config-path <string>]
Options
| Flag | Description |
|---|---|
--packages <string> | JSON array of packages to install or update. Each item must include id and may include version. When version is omitted, the latest stable version is installed. Example: [{"id":"UiPath.System.Activities","version":"23.10.1"},{"id":"UiPath.Excel.Activities"}]. |
--nuget-sources-config-path <string> | Path to a JSON file with additional NuGet feed sources. Format: [{"Url": "<path-or-url>"}]. Sources are additive — they merge with the user's existing NuGet configuration. |
For the complete option list on your installed tool version, run:
uip rpa install-or-update-packages --help
uip rpa install-or-update-packages --help
Examples
# Pin two activity packages to specific versions
uip rpa install-or-update-packages \
--packages '[{"id":"UiPath.System.Activities","version":"23.10.1"},{"id":"UiPath.Excel.Activities","version":"3.3.1"}]'
# Update one package to the latest stable, with an extra feed
uip rpa install-or-update-packages \
--packages '[{"id":"UiPath.UIAutomation.Activities"}]' \
--nuget-sources-config-path C:\nuget\extra-sources.json
# Pin two activity packages to specific versions
uip rpa install-or-update-packages \
--packages '[{"id":"UiPath.System.Activities","version":"23.10.1"},{"id":"UiPath.Excel.Activities","version":"3.3.1"}]'
# Update one package to the latest stable, with an extra feed
uip rpa install-or-update-packages \
--packages '[{"id":"UiPath.UIAutomation.Activities"}]' \
--nuget-sources-config-path C:\nuget\extra-sources.json
Related
uip rpa get-versions— list available versions before pinning.uip rpa inspect-package— verify what a package exposes before installing it.