update
orc update detects the install owner of the running CLI and delegates to that owner’s update command. It does not overwrite a distribution managed by another owner. --check reports the owner, current version, latest version, and planned command without updating.
Usage
orc update --checkInspect the update plan.
Behavior by install owner
| Install owner | Behavior |
|---|---|
native | Runs curl -fsSL https://orchestor.io/install | ORCHESTOR_NON_INTERACTIVE=1 bash. |
brew | Runs brew upgrade --cask orchestor. |
winget | Prints winget upgrade Dotmedia.Orchestor without running it. |
npm | Runs npm install -g @orchestor-inc/cli@latest. |
unknown | Does not update and returns exit code 1. |
Unique options
--check
Show the install owner, latest version, and update command without updating
Type: boolean. Optional.
orc update --checkExamples
Update through the detected install owner.
orc updateUpdate through the detected install owner.
Update notifications
After an interactive command succeeds, the CLI checks for a new version at most once every 20 hours. If a newer version exists, it prints the owner-specific update command to standard error. Notifications are skipped for machine-readable output, orc update --check, and development builds.
ORCHESTOR_NO_UPDATE_CHECK=1 disables checks and notifications, but does not disable manual orc update.
Global Options
The following global options can be used with orc update:
For details and examples, see global options.