- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
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
| Flag | Description |
|---|---|
--dry-run | Preview what would change without applying it. |
--tools-only | Update tools; skip the skills section. Mutually exclusive with --skills-only and with --no-tools. |
--skills-only | Update skills; skip the tools section. Mutually exclusive with --tools-only and with --no-skills. |
--no-tools | Do not update tools. |
--no-skills | Do not update skills. |
--no-cli-check | Do not probe for a newer CLI version at all. |
--no-self | Probe 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. |
--local | Restrict the skills update to local (project) scope only. |
--no-local | Restrict the skills update to global scope only. |
--force | When 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 updatetargets the latest published release on the channel, crossing MINOR and MAJOR boundaries. An explicituip updateis the user opting into that, unlike the unattended daily sync, which stays within its MAJOR. - Under a frozen config,
uip updatetargets 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 updatereads the CLI and each pinned tool from disk again. When one is still off its pin, the run exits1. - While an installed tool is not in
versions.tools,uip updaterefuses with exit1andErrorCode: "configuration_error", and changes nothing. The message names each tool and the fixes:uip tools install <tool>@<version> --forceoruip config freezeto pin it,uip tools uninstall <tool> --forceto remove it.--no-toolsand--skills-onlyskip this check. - When the registry does not publish the CLI pin, the run exits
1with aData.Errorsrow that hasErrorCode: "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-selfor 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.
Related
- uip config —
uip config freezewrites the pinsuip updateinstalls;updateChannelsets the channel. - uip tools —
uip tools updateis the tools-only equivalent with its own dedicated flags. - uip skills — skills installation and per-agent update behavior.