UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Last updated May 7, 2026

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>]
uip rpa install-or-update-packages --packages <string> [--nuget-sources-config-path <string>]

Options

FlagDescription
--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

See also

  • Synopsis
  • Options
  • Examples
  • Related
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated