Upgrade & shell setup
Keep the orl CLI current with orl upgrade or Homebrew, and add shell completions for bash, zsh, and fish, plus man pages.
Upgrade
orl upgrade # upgrade to the latest release
orl upgrade --check # report whether a newer version exists, change nothing
orl upgrade --version 0.2.0 # install a specific version (v0.2.0 also works; release tags carry the v)If you installed with Homebrew, upgrade with Homebrew instead. The full cask name makes Homebrew refresh the tap first, so it finds a release from today:
brew upgrade --cask openrelayinc/tap/orlIf you installed the deb or rpm package, download the new one from the latest release and install it over the old one:
# Debian / Ubuntu
sudo dpkg -i orl_*_linux_amd64.deb
# Fedora / RHEL (-U upgrades; -i refuses while an older orl is installed)
sudo rpm -U orl_*_linux_amd64.rpmorl checks for a newer release in the background and prints a one-line notice
when one is available, with the upgrade command for how you installed it. It
never blocks a command, and --quiet silences it. orl upgrade also verifies
the release's cosign signature before installing it, failing closed if that
check does not pass.
Automatic updates
From 0.12, a downloaded orl in a directory you can write (such as
~/.local/bin) updates itself. Every 6 hours a command starts a background
check. When a newer release is out, orl downloads it, verifies its cosign
signature and checksum, runs the new binary once, and puts it in place. Your
next command runs the new version and says so once, with a link to the release
notes: orl updated 0.12.0 -> 0.12.1.
- Breaking releases wait for you. A release that removes or renames a
command, drops a flag, or drops or requires a tool input is never installed on
its own: the notice asks you to run
orl upgrade. - Agents are told too. A running
orl mcpserver adds one line to the agent's next tool result asking it to restart the server. - Package installs keep the notice. Homebrew, deb and rpm installs, and a directory only root can write, print the upgrade command instead.
orl doctorshows whether automatic updates are on, and why not.
Turn it off with ORL_NO_AUTO_UPGRADE=1 (the notice stays), or stop the
background check entirely with ORL_NO_UPDATE_CHECK=1. It never runs in CI, as
root, or from a build without a release version. Going back with
orl upgrade --version <older> pins that version: orl stops updating itself
until you run orl upgrade again.
See the CLI changelog for what changed in each release.
Shell completions
Generate a completion script for your shell:
orl completion bash > /etc/bash_completion.d/orl
orl completion zsh > "${fpath[1]}/_orl"
orl completion fish > ~/.config/fish/completions/orl.fishRun orl completion --help for the exact install path on your system.
Man pages
The Homebrew cask and the deb/rpm packages install man pages, so once orl is
installed you can read them the usual way:
man orlVersion
orl --version