Installation
QSMxT ships as a single self-contained binary. There is no environment to manage and no toolbox to assemble.
Quick install
Section titled “Quick install”Linux / macOS
Section titled “Linux / macOS”curl -fsSL https://raw.githubusercontent.com/QSMxT/QSMxT/main/install.sh | shWindows (PowerShell)
Section titled “Windows (PowerShell)”irm https://raw.githubusercontent.com/QSMxT/QSMxT/main/install.ps1 | iexThe installer places the qsmxt binary on your PATH and installs a pinned copy
of dcm2niix (used for DICOM → BIDS
conversion) into ~/.qsmxt/bin. Before extracting anything it checks the
archive against the release’s SHA256SUMS file and stops if the file is
missing, has no entry for the archive, or gives a different checksum.
To install a specific release rather than the latest, set QSMXT_VERSION
(for example QSMXT_VERSION=v9.23.0) before running the installer.
Verify
Section titled “Verify”qsmxt --versionqsmxt --helpKeeping up to date
Section titled “Keeping up to date”qsmxt updateThis checks the latest release,
installs it if newer, and keeps the bundled dcm2niix in sync. The download is
checked against the release’s SHA256SUMS before anything is extracted; a
missing or mismatching checksum aborts the update and leaves the installed
binary untouched.
A build from source reports version 0.0.0 and has no release to compare
against, so qsmxt update refuses to replace it. Use qsmxt update --force to
install the latest release over it anyway.
qsmxt tui also checks for new releases in the background and offers the update
in a pop-up when one is available. The check runs on its own thread and its
result is cached for 24 hours, so it never delays startup. From the pop-up,
Enter installs the update, Esc defers it to the next launch, and d skips
that release for good.
Set QSMXT_NO_UPDATE_CHECK=1 to turn the background check off entirely. It is
also skipped automatically when CI is set and in local development builds.
Manual download
Section titled “Manual download”Grab the archive for your platform from the
Releases page and extract qsmxt
somewhere on your PATH. Each release also carries a SHA256SUMS file; check
your download with sha256sum -c SHA256SUMS --ignore-missing (Linux),
shasum -a 256 -c SHA256SUMS --ignore-missing (macOS) or
Get-FileHash -Algorithm SHA256 (Windows). Builds are provided for:
x86_64/aarch64Linux (gnu + musl)x86_64/aarch64macOSx86_64/aarch64Windows
From source
Section titled “From source”Requires a recent Rust toolchain (edition 2021+).
git clone https://github.com/QSMxT/QSMxTcd QSMxTcargo build --release# binary at target/release/qsmxtUninstall
Section titled “Uninstall”# Linux / macOScurl -fsSL https://raw.githubusercontent.com/QSMxT/QSMxT/main/uninstall.sh | sh# Windows PowerShellirm https://raw.githubusercontent.com/QSMxT/QSMxT/main/uninstall.ps1 | iex