UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip rpa packages install

Syntax and options for `uip rpa packages install`, which installs or updates a batch of NuGet packages in the active project.

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

Examples​

# Pin two activity packages to specific versions
uip rpa packages install \
  --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 packages install \
  --packages '[{"id":"UiPath.UIAutomation.Activities"}]' \
  --nuget-sources-config-path C:\nuget\extra-sources.json
# Pin two activity packages to specific versions
uip rpa packages install \
  --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 packages install \
  --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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated