Skip to content

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):

Terminal window
archon provider add claude codex # the providers you use

Until 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.

Terminal window
brew update
brew upgrade archon
archon version

Re-run the installer to download and replace the executable with the latest release.

Terminal window
curl -fsSL https://archon.diy/install | bash
archon version
Terminal window
irm https://archon.diy/install.ps1 | iex
archon version

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:

Terminal window
docker compose pull
docker compose up -d
docker compose exec -u appuser app bun run cli version

docker 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.

In your Archon checkout, first check for local changes:

Terminal window
git status

Commit 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.

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:

Terminal window
git fetch origin main && \
git branch main FETCH_HEAD && \
git config branch.main.remote origin && \
git config branch.main.merge refs/heads/main

Then update. Each step runs only if the one before it succeeded:

Terminal window
git fetch origin main && \
git switch main && \
git merge --ff-only FETCH_HEAD && \
bun install --frozen-lockfile && \
bun run cli version

This fetches main by name, so it works on a clone made with --single-branch of dev, which never fetches main on its own.

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.

Terminal window
git switch dev && \
git pull --ff-only && \
bun install --frozen-lockfile && \
bun run cli version

If you serve the console from source, rebuild it with bun run build:web before restarting your server.

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.