arc upgrade upgrades the arc binary itself to the latest published release, or to a specific pinned version.
Usage
arc upgrade [options]Global flags (see Overview): --json, --view, --instance / -i (which local ARC instance; omit for default), and --home (instance root; to pick which instance, use --instance).
--check: only check whether an update is available, don't install it--to <version>: install a specific version instead of the latest published one--from <path>: debug channel — build this local git source tree and swap the running daemon's exec, instead of installing a published tarball--force: for the--fromdebug channel only — allow swapping to an older debug build (by default--fromrefuses that downgrade). Plain--to <version>has no such guard: it installs whatever version you name, even an older one, and still reports it asupgraded--base <url>: tarball host base URL (defaulthttps://dl.arcblock.io, envARC_INSTALL_BASE)--install-script-base <url>:install.shhost base URL (defaulthttps://arc.arcblock.io, envARC_INSTALL_SCRIPT_BASE)--dir <path>: install root (default~/.arc, envARC_INSTALL_DIR)
Example
$ arc upgrade --check
already up to date (2.0.0-beta.48)If a newer release is published, the message instead reads update available: <current> → <latest> (run 'arc upgrade' to install).