uip rpa install-or-update-packages
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>]
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
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
Related
uip rpa get-versions— list available versions before pinning.uip rpa inspect-package— verify what a package exposes before installing it.