Skip to content

Update QSMxT

Goal: run the latest release of QSMxT.

  1. Update:

    Terminal window
    qsmxt update

    This installs the latest release if it is newer than yours, and updates the dcm2niix that QSMxT uses for DICOM conversion.

  2. Check the version:

    Terminal window
    qsmxt --version

In the TUI, the update window opens when a new release is out, or with u on the tab bar. It lists the releases, newest first, beside the selected release’s notes: ↑/↓ choose, PgUp/PgDn scroll the notes, Enter installs the selected release after asking, ! shows its details and Esc closes the window until the next start. ←/→ switch to Main (for testers), which builds the latest main as qsmxt update --main does. Restart QSMxT after an install to use the new version.

qsmxt --version shows the number of the latest release.

The QSMxT team posts announcements, such as a problem found in a release and the version that fixes it. The TUI shows a new one once when it starts; one about a problem that can give wrong results shows every time, until you update past it. Press n on the TUI’s tab bar to read them all, or run:

Terminal window
qsmxt news
  • A build from source reports version 0.0.0, so qsmxt update will not replace it unless you add --force.
  • The development version: qsmxt update --main builds the latest commit of main from source. It needs Rust and takes several minutes the first time; later updates reuse the build in ~/.qsmxt/build (emptied when it passes 10 GB). main may hold changes that are not yet released or documented. qsmxt update --force goes back to the latest release.
  • A particular release: qsmxt update --list lists the releases, newest first, and qsmxt update --version 12.2.0 installs one, older or newer than yours. It asks first; add --yes to skip the question, which is needed when there is no terminal to ask on. Older versions may not read settings files written by newer ones; qsmxt update returns to the latest release. Releases from v9.0.0 on can be installed this way; for 8.x, see its installation page. A release published without a SHA256SUMS file is installed only with --allow-unverified.
  • No update check: set QSMXT_NO_UPDATE_CHECK=1. This also turns off announcements. The check is skipped when CI is set.

The download is checked against the release’s SHA256SUMS before anything is extracted; a missing or wrong checksum stops the update and leaves your qsmxt as it was. The TUI checks for a release and for announcements in the background, so it never delays startup; offline it uses the last answer it had. Announcements are saved in ~/.qsmxt/announcements.toml, and the ones already shown in ~/.qsmxt/announcements-seen.json.