Browse docs
Docs / Reference / Release Channels & Updates
View as Markdown

Release Channels & Updates

On this page

Swarmfile installs update themselves, but never silently and never without you saying so. (The self-hosted edition is the exception: it never updates itself; you upgrade by installing the next bundle.) This page covers where installers come from, how updates are delivered and verified, and how to reinstall a machine cleanly.

Where installs come from#

WhatHost
Installersreleases.swarmfile.com
Update manifestupdates.swarmfile.com/stable/latest.json
Dashboard / web appswarmfile.com
Hub / identityhub.swarmfile.com, id.swarmfile.com
git-LFS agent installerget.swarmfile.com/lfs

A machine's hosts are baked into its install, not compiled into the binary: packaging writes the hub, identity, site, and update endpoints into the bundled config.json, so an install keeps the endpoints it was packaged with. See Engine Config File.

Installers are available two ways under releases.swarmfile.com:

  • Stable aliases - releases.swarmfile.com/latest/Swarmfile.pkg, .../latest/Swarmfile.dmg, .../latest/swarmfile-amd64.deb, .../latest/Swarmfile-Setup.exe (Windows ARM64), .../latest/Swarmfile-x64-Setup.exe, and the bare .msi files. These are what the download page's links resolve to (the page links through the hub, which redirects here).
  • Versioned paths - releases.swarmfile.com/v<version>/Swarmfile-<version>.pkg and so on, so a scripted install can pin an exact build whose SHA-256 stays valid. Each artifact ships with a .sha256 file and there is a combined SHA256SUMS per release. Homebrew, winget, and Chocolatey packages point at the same signed artifacts.

Use the stable aliases for people and the versioned paths for automated mass installs.

How updates work#

Updates live in the Desktop App, not the engine:

  • It checks once at startup and then every 45 minutes while running. Repeated failures back off, up to about every six hours.
  • A found update only raises a notification: a pill in the header and a card in Diagnostics. Swarmfile never installs an update on its own - Install now is the only path, and that is deliberate: an unattended restart while a save or render is running is worse than being a few days behind.
  • If an update sits uninstalled for a week, the Desktop App sends one desktop notification naming the version - still informational, still install-on-your-command. (A restart re-raises the pill, so the nudge is for the tray that stays running for weeks.) You can also press the manual Check for updates action in Diagnostics at any time.

What happens when you press Install now differs by platform:

  • macOS and Windows - the app downloads the signed package and installs it, then restarts itself (and its engine). On Windows an unelevated app starts the Swarmfile Updater helper (an on-demand, never-auto-triggering elevated helper) which verifies the package signature and applies it.
  • Linux - the app cannot self-install (it runs as your user, and package installation needs root). It shows a notification pointing at the .deb for you to install; there is no silent privilege escalation.

There is no beta, nightly, or insider channel. Every release publishes to the single stable channel.

Update integrity#

Updates are verified before they are applied:

  • The update manifest's artifacts are signed with a repository Ed25519 (minisign) key, and each release channel is checked only with the key configured for it; staging uses the production key until a separate staging key is configured. Each signature also names the exact file it covers, so a genuine signature from another release does not verify. The public keys are compiled into the app, the Windows updater helper and swarmfile-doctor, so a compromised update server cannot hand you a package that verifies - the endpoint can be moved, the trusted key cannot.
  • The app itself refuses an update whose signature does not verify, and refuses a manifest that is not strictly newer than the installed version.
  • macOS installers are Developer ID-signed and notarized/stapled. Windows installers (Setup.exe and the bare .msi), the desktop -bin.zip/-app.zip payloads (the .exe/.dll files inside them, not the archive itself), and the standalone swarmfile-doctor download are Authenticode-signed in the desktop release pipeline, which refuses publication without the macOS and Windows signing evidence. The standalone Windows tool archives are signed by a separate signing job that is fail-closed too: if it fails, the tool release is blocked and no unsigned archive is published. The desktop release likewise refuses publication without its zip-signing and installer-signing markers. Linux .debs are checksum-only by default: verify them against the published .sha256/SHA256SUMS and rely on the updater's own signature when updating. When a release also publishes the GPG-signed apt repository, installing or upgrading through that repository makes apt verify the package against the repository key. On Windows, the SmartScreen prompt is expected on first run until the signing identity builds reputation - see Getting Started.
  • Installing an older version over a newer one is not supported: the Windows MSI refuses downgrades, and the updater refuses non-newer manifests. To move a machine backward, remove the app and install the exact older package from its versioned path.

Version numbering#

Versions are 0.<minor>.<patch>; the current line is 0.3.x, and the newest published version is whatever the stable release manifest reports (updates.swarmfile.com/stable/latest.json). The version is embedded in the installer name and in every versioned URL, and release publishing is monotonic - an older version can never overwrite the current latest manifest.

The engine, CLI tools, and Desktop App in one install share the same version; if they ever drift - an update that leaves a background service pointing at an older engine binary, say - the app raises a version-mismatch banner and offers the right remedy: restart or install for a plain mismatch, and repair/reinstall when the service itself points at the old binary, where a restart would just re-run it.

Reinstalling or repairing#

When an install is unhealthy (a broken mount helper, a missing CLI tool, a half-applied update), reinstall rather than removing things by hand:

  • Desktop App: Diagnostics → Reinstall… (Windows, macOS and Linux). On Windows it downloads the .msi the update channel publishes, checks its release signature before running it, and reinstalls the installed version in place (every file, registry entry and shortcut is rewritten), the same way swarmfile-doctor --repair does; a newer version goes through the updater helper first. On macOS and Linux it downloads the full installer (the .pkg or the .deb) and opens it in the system installer for you to finish. Linux software centers usually treat a .deb of the installed version as already installed and offer no reinstall; to rewrite the same version, run sudo swarmfile-doctor --repair.
  • Command line, headless, or scripted: swarmfile-doctor --repair (add --yes to skip the confirmation prompt; a script with no terminal needs it). It reads the update channel from the installed desktop app's own configuration (only Swarmfile's own update channel for that install), downloads the full installer for the platform (the .pkg, the .msi, or the amd64 .deb), verifies it before running it (the release signature published in the update channel for the .msi and .deb; the published SHA-256 plus Swarmfile's own Developer ID Installer signature and Gatekeeper for the .pkg), and runs it (installer, msiexec, or dpkg -i). It needs the same privileges a normal install does (sudo on macOS and Linux, administrator approval on Windows); it refuses when the installed app's configuration isn't root-owned, so on an app copied from the .dmg (owned by whoever copied it) download and run the .pkg from Downloads instead. On a machine without the desktop app it refuses. See swarmfile-doctor --repair.

On Windows, an update also refuses to run when the install directory is writable by non-administrators - the elevated helper stages and swaps files there, so a location any user can write is not a safe update target. If you hit that, reinstall to a protected location such as Program Files.

A repair keeps your local state: cached content, the queued-upload database, config, and sign-in token all live outside the application bundle (see Uninstall & Clean Reinstall for the exact paths). It is the supported way to move a .dmg-only macOS install onto the .pkg layout that installs the engine service and puts the CLI on PATH.

--repair installs the version the update channel currently publishes. If that is older than the installed version it refuses (--allow-downgrade overrides this on macOS and Linux; Windows never downgrades). If the channel can't be read, or the download doesn't verify, it stops without installing anything.

Where to go next#

Something wrong or missing? Report a docs issue.