Updating DRE
dre system update checks GitHub Releases and updates DRE the way it was installed.
dre system update --check only reports whether a newer release exists, and
dre system update <version> installs that release (to pin one, or to roll back):
- install.sh or the release zip:
dredownloads the new release, checks it against the release’sSHA256SUMS, and replaces its own binary. A failed update leaves the old one as it was. Plugins aren’t touched;dre plugin updateupdates those. - Homebrew or Scoop:
drechanges nothing and printsbrew upgrade dreorscoop update dre. - pip, uv or pipx:
drechanges nothing and prints the command to run:<python> -m pip install -U dre-cli,uv tool upgrade dre-cliorpipx upgrade dre-cli. Ifdre-cliis pinned in a project’s or a Databricks job’s dependencies, bump the pin there. - cargo:
drechanges nothing and prints thecargo installcommand for the new version. - A build of your own (
cargo build,cargo install --path):drerefuses to overwrite it.
While every release is a pre-release, “newest” includes pre-releases. Once there are stable
releases, a stable dre updates to the newest stable one. Only dre system update checks for
new versions; no other command calls the network for it. GITHUB_TOKEN is sent when set, which
avoids GitHub’s anonymous rate limit on shared IPs and CI runners.
Rehearse an update against a small report
Section titled “Rehearse an update against a small report”dre --versiondre system update --checkAfter applying the update command for your install method, validate and preview the complete tutorial project. For production work, preview your own report with the same target and variables it normally uses. Keep the old binary or dependency pin available until those checks pass. Read the relevant migration notes and 0.4 changes before crossing a minor version.
A checksum failure means the archive cannot be verified: download it again from the release; do not disable verification. A permission failure replacing an install means that directory needs the install method’s normal permissions. A source build’s refusal to self-update is intentional; rebuild it with source instructions. See CLI reference, plugin updates and plugin package.