Updating Archon
Use the same method you used to install Archon. Read the release notes before updating. Let active workflows finish and stop any running Archon server before replacing its executable or source checkout. Restart the server afterward so the console and new runs use the updated version.
A release binary checks that each installed provider matches its own version. After a Homebrew or quick-installer update, reinstall the providers you use (the quick installer asks; Homebrew does not):
archon provider add claude codex # the providers you useUntil you do, a run that needs one fails before it starts and prints this
command. archon doctor lists each provider’s installed version. Docker and
source installs run providers from source and skip this step.
A release binary also runs the GitHub forge plugin you installed, at the version
you installed. Update it with archon plugin update coleam00/Archon/plugins/forge-github.
Docker and source installs run the GitHub forge plugin from source too, so it
always matches the checkout.
Homebrew
Section titled “Homebrew”brew updatebrew upgrade archonarchon versionQuick installer
Section titled “Quick installer”Re-run the installer to download and replace the executable with the latest release.
macOS / Linux
Section titled “macOS / Linux”curl -fsSL https://archon.diy/install | basharchon versionWindows (PowerShell)
Section titled “Windows (PowerShell)”irm https://archon.diy/install.ps1 | iexarchon versionDocker
Section titled “Docker”For the pre-built image, pull the new
image and recreate the container from the directory that holds your
docker-compose.yml, then check the version:
docker compose pulldocker compose up -ddocker compose exec -u appuser app bun run cli versiondocker compose up -d recreates the app with the new image and keeps the data
volumes. A plain restart does not change the image.
The repository’s Docker Compose deployment builds from source. Follow its update instructions, retaining the profiles you used for deployment; rebuilding and recreating the app loads the updated source.
From source
Section titled “From source”In your Archon checkout, first check for local changes:
git statusCommit or stash your changes before updating. Then follow one of two branches:
main holds releases and is the recommended branch, and dev is the working
development branch.
The commands below use Bash syntax (&& and \ line continuations). On native
Windows, run them in Git Bash in the same checkout.
Follow releases
Section titled “Follow releases”If git branch --list main prints nothing, your checkout has no local main
yet. Create it once from origin’s main, with origin’s main as its upstream
so a plain git pull on it also works:
git fetch origin main && \ git branch main FETCH_HEAD && \ git config branch.main.remote origin && \ git config branch.main.merge refs/heads/mainThen update. Each step runs only if the one before it succeeded:
git fetch origin main && \ git switch main && \ git merge --ff-only FETCH_HEAD && \ bun install --frozen-lockfile && \ bun run cli versionThis fetches main by name, so it works on a clone made with
--single-branch of dev, which never fetches main on its own.
Follow development
Section titled “Follow development”Use this on a checkout whose dev branch tracks the repository’s dev, as a
normal clone does. A clone made with --single-branch of main has no dev;
follow releases instead.
git switch dev && \ git pull --ff-only && \ bun install --frozen-lockfile && \ bun run cli versionIf you serve the console from source, rebuild it with bun run build:web before
restarting your server.
Update notices
Section titled “Update notices”Compiled CLI installs check for updates in the background during workflow run
and workflow resume. When fresh release data is available, they print update
instructions to stderr at most once every 24 hours, even when the command fails.
--quiet and --json suppress this notice. An unavailable network or stale cache
does not delay the command.
The console shows a banner when a newer release is available. Dismissing it is remembered in your browser for that release; a later release shows the banner again.
