UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

Versioning and stability

Semantic versioning contract for UiPath CLI, covering what changes at MAJOR, MINOR, and PATCH, and how to freeze the CLI, tool, and skills versions.

UiPath CLI follows semantic versioning (MAJOR.MINOR.PATCH), reaching General availability at version 1.197.0. This replaces the calendar-based scheme (2023.10, 2024.10, 2025.10) used by the legacy .NET CLI. This page is the contract — what you can rely on from one release to the next, what can change, and how host and tool versions stay in step.

What semver means in practice​

BumpWhen it happensWhat can change
MAJOR (1.x.x → 2.0.0)Breaking changes to command names, flag semantics, or the JSON envelope.Commands may be renamed or removed; flags may be renamed or have their meaning altered; the envelope's top-level fields may change shape. A full deprecation cycle precedes any MAJOR release — deprecated commands keep working in the final MINOR of the previous MAJOR.
MINOR (1.0.x → 1.1.0)New commands, new tools, new flags, new subcommands.Additive only on the command surface. However, the shape of Data inside the JSON envelope is command-specific and may change — new fields added, occasionally fields renamed or nested. Scripts that parse specific field names should re-validate on a MINOR bump.
PATCH (1.0.0 → 1.0.1)Bug fixes.No documented behavior change. A patch that changes behavior is treated as a bug report on the patch itself.

There is no --preview flag (unlike Azure CLI). Preview-status commands are labeled in their reference page and may change within a MINOR release without warning — see Per-command stability below.

The stable contract​

The following do not change across MINOR or PATCH versions. Script against them freely.

Envelope fields​

Every command emits an envelope on stdout with these top-level fields:

FieldStabilityMeaning
ResultStableSuccess, Failure, ConfigError, AuthenticationError, ValidationError, TimeoutError.
CodeStable within MAJORCommand-specific success identifier (FolderList, SolutionPack, etc.). New codes may appear in MINOR releases for new commands.
DataCommand-specificPayload shape defined by each command. May add fields in MINOR releases. Rarely, fields may be renamed in MINOR — watch release notes.
Message, InstructionsStableHuman-readable error text. Content may be improved release-to-release; presence and role do not change.
Context, LogStableOptional fields. Presence conditions are stable.

See Output formats for the envelope in detail.

Exit codes​

The five-tier exit-code contract (0 / 1 / 2 / 3 / 4 plus 130 for user cancellation) is stable within a MAJOR release. 4 is emitted today by a few long-running commands on timeout, including uip tm run, uip tm testsets clone, and uip tm perf-scenario execute --wait; more long-running commands may adopt it, so handle it as "timeout".

Global options​

--output, --output-filter, --log-level, --log-file — these four flags are stable across MINOR bumps. New global options may be added; existing ones will not be renamed or removed without a MAJOR release.

Stdout / stderr separation​

Stdout is the envelope; stderr is logs, progress, and human-facing error text. This separation holds across every command, every format, every release.

Host and tool versions​

The host (@uipath/cli, the uip executable) and each tool (for example, @uipath/orchestrator-tool) are published as independent npm packages, each with its own semver. They are coordinated so that a host at version 1.0.x runs tools at 1.0.x.

Default version resolution​

When you run uip tools install <alias> without an explicit version, the host selects the latest tool version whose MAJOR.MINOR matches the CLI's current MAJOR.MINOR line. Upgrading the CLI from 1.0.x to 1.1.0 and then running uip tools update brings every installed tool into the 1.1.x line.

npm install -g @uipath/cli@1.1.0
uip tools update          # all tools → latest 1.1.x
npm install -g @uipath/[email protected]
uip tools update          # all tools → latest 1.1.x

You can override the default for a specific tool:

uip tools install orchestrator-tool@1.0.2
uip tools install [email protected]

uip tools update has no version option. A freeze holds tools at exact versions; see Freezing versions.

Why the pinning matters​

Tools talk to the host through a versioned TypeScript contract (command registration, output formatting, telemetry, context). If the contract changes between MINOR versions, the host and tool must move together. The version-pinning default guarantees they do, without the user having to think about it.

Update channels​

Which build the host and its tools resolve to is governed by a channel — a CLI-host-level setting, not a per-tool npm tag passed on the install command. Three channels exist: stable (default), preview, and a hidden dev. Set it with uip config:

uip config set updateChannel preview   # persistent, affects every uip invocation
uip update --channel preview           # one invocation only
uip config set updateChannel stable    # back to stable
uip config set updateChannel preview   # persistent, affects every uip invocation
uip update --channel preview           # one invocation only
uip config set updateChannel stable    # back to stable

Each channel maps to a real npm dist-tag:

ChannelPublished fromRegistryDist-tag
stableManual release run on release/*npmjslatest (or previous for a backport below latest)
previewPush to release/*npmjs, mirrored to GitHub Packagespreview
devPush to mainGitHub Packages onlydev

dev is accepted (uip config set updateChannel dev) but deliberately left out of --help and "valid values" lists — it exists so a -dev.* CLI resolves tools on its own line, not as a channel to opt into.

Pinning an exact prerelease version directly still works for a one-off (uip tools install [email protected]), but updateChannel is what governs ongoing resolution — an unpinned uip tools update or auto-install always re-resolves against the channel, not a tag you passed once.

See uip config for the updateChannel key.

Automatic updates​

Left alone, uip keeps itself current — this happens by default, with no opt-in.

The daily CLI sync​

Once a day, the first eligible command checks for a newer CLI version on the resolved channel, installs it, refreshes skills, and re-execs your original command on the new version — transparently, mid-invocation. It writes only to stderr (a spinner on interactive terminals) and never changes your command's exit code. A manual uip update is never throttled by this daily gate.

It never crosses a MAJOR version unattended. With no version pin, the daily sync caps itself at the MAJOR it is already running — publishing 2.0.0 to latest does not silently upgrade a 1.x install overnight. It announces the new version it declined so you can opt in deliberately:

uip update                          # explicit, unrestricted — crosses the major
uip config freeze                   # or stay on the version installed now
uip update                          # explicit, unrestricted — crosses the major
uip config freeze                   # or stay on the version installed now

The sync skips certain contexts automatically (CI env-var auth, a monorepo checkout, a Studio-bundled install, the update/login/logout/mcp/completion/config/skills/help verbs, --version/--help, a frozen config) and can be turned off entirely with:

export UIPATH_CLI_DISABLE_VERSION_SYNC=true
export UIPATH_CLI_DISABLE_VERSION_SYNC=true

Where a versions block exists, UIPATH_CLI_DISABLE_VERSION_SYNC is ignored, with one stderr line a day: the block decides what is installed. State is tracked in ~/.uipath/version-sync.json; uip login never touches it.

The per-tool daily check​

Separately, the first time a tool verb runs each day, the CLI does one registry lookup for that tool on the running CLI's major.minor line and installs the newest matching build before the tool loads — no re-exec, since tools load lazily in the same process.

This check fails closed: if the lookup or install fails, the command does not run at all (a Failure result asks you to check connectivity and retry) rather than risk running a stale tool. UIPATH_CLI_DISABLE_VERSION_SYNC and UIPATH_CLI_DISABLE_AUTOINSTALL both skip this check; so does a frozen config.

Per-command stability​

Individual commands and flags carry one of three stability labels. Look for them at the top of each command's reference page.

LabelMeaning
GA (default; unlabeled)The command is covered by the semver contract above. It will not be renamed or removed within a MAJOR release.
PreviewThe command is in active development. Flags, defaults, and output shape can change without a MAJOR bump, though breaking changes are rare and announced in release notes. Use in production only when you are prepared to re-validate on each release.
DeprecatedThe command is scheduled for removal in the next MAJOR release. It continues to work in 1.x and emits a warning on stderr. Use the successor listed in the deprecation note.

This is the same convention gcloud uses. UiPath CLI does not gate Preview commands behind an opt-in flag — they are visible in --help and callable.

Freezing versions​

Installing a version with npm does not hold it. The daily CLI sync moves the CLI to the newest release, and the per-tool daily check moves each tool to the newest build on the CLI line.

A freeze holds the versions: a versions block in .uipath/config.json pins the CLI, each tool, and the skills. Freezing needs CLI 1.207.0 or later, because older CLIs do not read the block.

uip config freeze writes the block from what is installed now and installs nothing. uip config unfreeze removes it. The block has this shape:

{
    "versions": {
        "cli": "1.207.1",
        "skills": "1.207.0",
        "tools": { "@uipath/orchestrator-tool": "1.207.3" }
    }
}
{
    "versions": {
        "cli": "1.207.1",
        "skills": "1.207.0",
        "tools": { "@uipath/orchestrator-tool": "1.207.3" }
    }
}

What a freeze does at run time​

Where the config the CLI reads has a versions block:

  • The daily CLI sync and the per-tool daily check do not run.
  • A CLI that is not on versions.cli refuses normal commands, and the message names uip update. uip update, uip config, uip help, uip tools list, --help, and --version still run.
  • A pinned tool that is not installed installs on its pin at first use. A pinned tool installed at another version makes the command refuse until uip update runs.
  • A tool that the block does not list does not run, also when the block pins only the CLI.
  • uip update puts the CLI, each pinned tool, and the skills on their pins, up or down. uip tools update does the same for the tools.
  • uip skills install, update, list, search, and show follow versions.skills.
  • The Studio-bundled CLI ignores versions.cli and versions.tools, with one stderr line, and follows versions.skills.

uip --version shows a freeze. Before its one stdout line, it writes frozen at <versions.cli> to stderr, so $(uip --version) still gives only the version.

In uip tools list, a tool the freeze lists has the status frozen at its pin and off freeze at another version. A tool the freeze does not list is off freeze too.

Freezing a CI pipeline​

A fresh runner has no tools, so without a freeze each one installs at the newest patch on the CLI line. The pins come from a machine where the chosen CLI version is installed.

The freeze runs right after the install, before any other command: until the machine is frozen, the first normal command runs the daily sync, which can move the CLI to the newest version. uip config commands do not run the sync.

In a repo with no config file yet, an empty .uipath/config.json makes the freeze go to the repo instead of the home config:

npm install -g @uipath/cli@<version>
mkdir -p .uipath && touch .uipath/config.json   # only when the repo has no config file
uip config freeze --all                         # pins the CLI, every tool and the skills
git add .uipath/config.json
npm install -g @uipath/cli@<version>
mkdir -p .uipath && touch .uipath/config.json   # only when the repo has no config file
uip config freeze --all                         # pins the CLI, every tool and the skills
git add .uipath/config.json

--all pins every tool without running it. Plain uip config freeze pins only the installed tools, and refuses when none is installed.

Freeze changes only the versions block and core.updateChannel. Every other key in the file goes into the repo too, and a review of the file before the commit catches keys that do not belong there.

In the pipeline, the job installs the pinned CLI and runs uip update from inside the repo:

CLI_PIN=$(node -p "require('./.uipath/config.json').versions.cli") || exit 1
npm install -g "@uipath/cli@$CLI_PIN"
uip update
uip skills install --agent <agent>   # only on a runner with no skills
CLI_PIN=$(node -p "require('./.uipath/config.json').versions.cli") || exit 1
npm install -g "@uipath/cli@$CLI_PIN"
uip update
uip skills install --agent <agent>   # only on a runner with no skills

The || exit 1 stops the job when the config file is missing or is not valid JSON. Without it, the install spec becomes @uipath/cli@, which npm installs as latest with exit 0.

uip update puts the CLI and each pinned tool on their pins, and moves installed skills to the skills pin. It does not install skills on a runner that has none. At its end, it reads the CLI and each pinned tool from disk again, and exits 1 when one is still off its pin.

The pipeline installs the pinned CLI, not latest. When the pin names a CLI older than 1.207.0, uip update from a newer CLI installs it with exit 0, and later jobs run unfrozen. The pinned CLI shows this at once: uip --version prints no frozen at line.

Moving or removing a freeze​

GoalCommand
Move to the newest CLI, tools, and skills on the channel, and write the new pinsuip update --force
Move to a chosen CLI versionnpm install -g @uipath/cli@<version>, then uip config freeze --force right away, then uip update
Re-pin what is installed nowuip config freeze --force
Add or change one tool pinuip tools install <tool>[@<version>] --force
Remove a tool and its pinuip tools uninstall <tool> --force
Copy the freeze to a repo with no shared historyuip config export --output-file <path>, then uip config import --input <path> on the other side
Remove the freezeuip config unfreeze

When the CLI moves to a new minor, uip config freeze --force keeps the pinned tools and moves each one to the newest version on the new line. uip update then installs them.

Limits​

  • The CLI and each tool are one install per machine. Two frozen repos with different pins on one machine share that install, so the second repo refuses its commands. One runner holds one freeze at a time.
  • A freeze holds only when every config on the machine is frozen. A command under a config without a versions block runs the daily sync, which can move the shared install off the pins of every frozen config.
  • versions.skills holds only for skills that uip skills install or uip update installed. Skills added another way, such as a Claude Code plugin added straight from GitHub, follow the skills repo and ignore the pin.
  • The npm dependencies of the tools are not frozen: some tools install them with version ranges.

For a developer workstation, no freeze is needed: the daily sync keeps the CLI, tools, and skills current. Inside a frozen repo, the repo pins apply.

Deprecation cycle​

When a command or flag is going away, the path is:

  1. Announced deprecation — the command is marked Deprecated in its reference page, and the release notes for the MINOR release that introduced the deprecation list it. A replacement is documented.
  2. Runtime warning — uip <deprecated-command> ... continues to work but emits a warning on stderr. Scripts that consume stdout are unaffected.
  3. Removal in the next MAJOR — the command is removed at the next MAJOR version bump. There is at least one full MAJOR cycle between deprecation and removal — long enough for any pipeline on the supported lifecycle to migrate.

Run uip <command> --help to see whether a command is Deprecated; the label appears in the synopsis.

When the Data shape changes​

Because Data is command-specific and can change in MINOR releases, pipelines that extract specific fields (--output-filter "Jobs[0].Key") are the ones most exposed to MINOR churn. Two mitigations:

  • Freeze the versions in CI (see Freezing versions). You choose when to validate new shapes.
  • Query defensively — prefer JMESPath expressions that tolerate missing fields (Data.Jobs[0].Key || '') when you can; check the release notes before upgrading.

Breaking Data shape changes in MINOR are rare and flagged in release notes as [Data shape] under the changed command.

Where to watch for changes​

  • Release notes — per-version summary of added commands, changed flags, and shape shifts.
  • uip --version and uip tools list — what is currently installed on a machine. Compare across environments to catch drift.
  • Each tool's package on npm — publishers list dist-tags and release history there.

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