# Updates

qKVM checks GitHub for a newer release once a day and installs it when an admin clicks. This page is for whoever keeps a wall up to date.

## Install an update

1. An **Update** button appears in the top bar when there is a new release.
2. Open *Settings > Updates* to read its notes, and what it downloads and how much.
3. Click to install, and type your password again.
4. qKVM checks the release's signature, installs it beside the running version, tries it, and restarts on it.

If the new version does not start, qKVM starts the previous one again by itself. `qkvm --roll-back` does the same by hand.

## How you installed it decides

| Installed with | How it is updated |
|---|---|
| pip, on Linux x86-64 or ARM64 (glibc) or Windows x86-64, with Python 3.11 to 3.14 | In place, from *Settings > Updates* |
| A container | Pull the new image: `docker compose pull && docker compose up -d`. The app tells you when one is out. |
| Anything else: macOS, Alpine, 32-bit systems, another Python | The app shows the pip command for your install, for example `/opt/qkvm/bin/python -m pip install --upgrade qkvm` |

pip works at any time as well; qKVM runs whichever is newer.

## What a check sends

One request to GitHub's public API for the newest release, and nothing about your devices. Switch the daily check off in *Settings > Updates*.

## Only signed releases

- The publisher's public release key is built into qKVM. A release without a valid signature is refused.
- The libraries an update brings are named, with their checksums, in a list the signature covers, and downloaded from PyPI's file host. Nothing is built, and your Python's own libraries are not changed.
- Each release lists what it brings in as an SBOM in CycloneDX, `qkvm-<version>-sbom.cdx.json`. With `SHA256SUMS` and `SHA256SUMS.sig` beside it, `python -m qkvm.release verify --signed SHA256SUMS qkvm-<version>-sbom.cdx.json` checks it.

## Disk space

A version takes up to about 150 MB in the data folder on Linux and about 100 MB on Windows, and two are kept. An install needs twice what it unpacks plus 100 MB free, and says so before it downloads anything. Backups may leave the `updates/` folder out.

## Which versions get fixes

- **Before 1.0, only the newest release gets fixes**, security fixes too. They come as the next release and are not carried back to older ones: update to get them.
- **Long-term support starts with 1.0.** Which versions, and for how long, will be said then.
- **Security fixes are announced** in a GitHub security advisory on [qkvm/qkvm](https://github.com/qkvm/qkvm/security/advisories), in the changelog, and in the release itself, which every wall shows with its **Update** button.
- **An update works from any release of the minor version before it**, or of its own. From an older one, update to the newest release of each minor version in between.

There is no promised response time. To report a problem, see [Security policy](https://qkvm.com/docs/web/security-policy).

## Related

- [Security policy](https://qkvm.com/docs/web/security-policy)
- [Keeping it running](https://qkvm.com/docs/web/keeping-it-running)
- [Command line](https://qkvm.com/docs/web/command-line)

[Full reference](https://github.com/qkvm/qkvm/blob/main/GUIDE.md#updates)
