UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip update

Syntax and options for `uip update`, which updates installed tools and skills and checks for or applies a newer CLI version.

uip update updates every installed tool and skill, and checks for (and by default applies) a newer CLI release. It's the one-command equivalent of running uip tools update and a skills update together, plus the CLI's own self-update check.

Synopsis​

uip update [--dry-run] [--tools-only | --skills-only] [--no-tools] [--no-skills] [--no-cli-check] [--no-self] [--channel <stable|preview>] [--name <tool-name>] [--agent <agent>] [--local | --no-local] [--force]
uip update [--dry-run] [--tools-only | --skills-only] [--no-tools] [--no-skills] [--no-cli-check] [--no-self] [--channel <stable|preview>] [--name <tool-name>] [--agent <agent>] [--local | --no-local] [--force]

uip update honors the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract, with one addition below.

Options​

FlagDescription
--dry-runPreview what would change without applying it.
--tools-onlyUpdate tools; skip the skills section. Mutually exclusive with --skills-only and with --no-tools.
--skills-onlyUpdate skills; skip the tools section. Mutually exclusive with --tools-only and with --no-skills.
--no-toolsDo not update tools.
--no-skillsDo not update skills.
--no-cli-checkDo not probe for a newer CLI version at all.
--no-selfProbe for a newer CLI version and report it, but do not install it — prints a notice with the manual upgrade command instead of self-updating.
--channel <channel>Override the release channel for this run: stable or preview (see uip config updateChannel). Without this flag, the channel is resolved from core.updateChannel/the running CLI's own build.
--name <tool-name>Restrict the tools update to one scoped tool name.
--agent <agent>Restrict the skills update to one coding agent.
--localRestrict the skills update to local (project) scope only.
--no-localRestrict the skills update to global scope only.
--forceWhen the config is frozen, update to the newest CLI, tools, and skills on the channel and write them into the config. See Frozen config.

--tools-only combined with --no-tools (or --skills-only combined with --no-skills) is a contradiction and fails with ValidationError before anything runs.

Version policy​

There is no per-invocation version flag. The target depends on the config:

  • Without a freeze, uip update targets the latest published release on the channel, crossing MINOR and MAJOR boundaries. An explicit uip update is the user opting into that, unlike the unattended daily sync, which stays within its MAJOR.
  • Under a frozen config, uip update targets the pins; see Frozen config.

Frozen config​

Where the config has a versions block (written by uip config freeze), uip update puts the CLI, each pinned tool, and the skills on their pins, up or down. Skills off versions.skills move to the pin; uip update does not install skills on a machine that has none.

  • At its end, uip update reads the CLI and each pinned tool from disk again. When one is still off its pin, the run exits 1.
  • While an installed tool is not in versions.tools, uip update refuses with exit 1 and ErrorCode: "configuration_error", and changes nothing. The message names each tool and the fixes: uip tools install <tool>@<version> --force or uip config freeze to pin it, uip tools uninstall <tool> --force to remove it. --no-tools and --skills-only skip this check.
  • When the registry does not publish the CLI pin, the run exits 1 with a Data.Errors row that has ErrorCode: "not_found", and the CLI stays on its version.

With --force, uip update takes the newest CLI, tools, and skills on the channel and writes them back into the versions block, with core.updateChannel set to the channel it installed from. Without a versions block, --force changes nothing.

--force refuses --name, --tools-only, --skills-only, --no-tools, --no-skills, --no-cli-check, and --no-self with exit 3; --dry-run is allowed.

--dry-run does not refuse under a freeze. It reports the freeze in Data.Frozen, which is null when the config is not frozen:

{
  "Frozen": {
    "ConfigFile": "/repo/.uipath/config.json",
    "Versions": { "cli": "1.207.1", "tools": { "@uipath/orchestrator-tool": "1.207.3" } },
    "Unlisted": ["[email protected]"]
  }
}
{
  "Frozen": {
    "ConfigFile": "/repo/.uipath/config.json",
    "Versions": { "cli": "1.207.1", "tools": { "@uipath/orchestrator-tool": "1.207.3" } },
    "Unlisted": ["[email protected]"]
  }
}

Each unlisted tool also adds a Data.Errors row, and the dry run then exits 1. With the CLI on its pin, the dry run does not look up newer CLI versions: Cli.available is null and Cli.action is none. uip update --force --dry-run shows the newest versions.

Examples​

# Update everything installed, including the CLI itself
uip update
# Update everything installed, including the CLI itself
uip update
# Update tools and skills but only report on a newer CLI, don't self-update
uip update --no-self
# Update tools and skills but only report on a newer CLI, don't self-update
uip update --no-self
# Preview without applying
uip update --dry-run
# Preview without applying
uip update --dry-run
# Tools only, on the preview channel
uip update --tools-only --channel preview
# Tools only, on the preview channel
uip update --tools-only --channel preview

Data shape (--output json)​

{
  "Code": "UpdateResult",
  "Data": {
    "DryRun": false,
    "Channel": "stable",
    "Cli": {
      "current": "1.4.2",
      "available": "1.4.3",
      "action": "updated",
      "reason": null
    },
    "Tools": [
      { "name": "orchestrator-tool", "status": "updated", "from": "1.4.2", "to": "1.4.3" }
    ],
    "Skills": { "Sections": [] },
    "Errors": [],
    "HasFailures": false
  }
}
{
  "Code": "UpdateResult",
  "Data": {
    "DryRun": false,
    "Channel": "stable",
    "Cli": {
      "current": "1.4.2",
      "available": "1.4.3",
      "action": "updated",
      "reason": null
    },
    "Tools": [
      { "name": "orchestrator-tool", "status": "updated", "from": "1.4.2", "to": "1.4.3" }
    ],
    "Skills": { "Sections": [] },
    "Errors": [],
    "HasFailures": false
  }
}

Cli.action is one of:

  • updated: the CLI was installed at its target, the newest release or its pin.
  • notice: a newer CLI exists but wasn't applied, because of --no-self or because auto-update declined for another reason.
  • none: the CLI is already current.
  • failed: the CLI install failed, or the CLI pin is not published.
  • skipped: the probe was suppressed, for example in a dev checkout or after a network error.

Cli is null with --no-cli-check. Tools/Skills are null, not an empty array, when that section was skipped (--tools-only, --skills-only, --no-tools, --no-skills).

A run with Cli.action: "notice" also logs the manual upgrade command to stderr (npm install -g @uipath/cli@<version>, or a tool-reported equivalent).

Exit codes​

uip update follows the standard contract, with one addition: a partial failure still returns a Success envelope (the orchestrator doesn't stop at the first failing subsystem — it runs every section and reports each outcome under Data.Errors), but the process still exits non-zero when Data.HasFailures is true. Check HasFailures, not just Result, if a script needs to detect a partial update failure.

  • uip config — uip config freeze writes the pins uip update installs; updateChannel sets the channel.
  • uip tools — uip tools update is the tools-only equivalent with its own dedicated flags.
  • uip skills — skills installation and per-agent update behavior.

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