# kosa8 self-update

Update the kosa8 CLI (and kosa8d beside it) to the latest release

Checks for a newer kosa8 release and installs it over this one, by running that
release's installer (install.sh, or install.ps1 on Windows, checked against the
release's checksums.txt) into the directory this binary is in. The download is
verified the way a fresh install is: its SHA-256 always, and its signature when
cosign is installed. A copy installed by Homebrew, Scoop, apt, dnf, apk or the
desktop app is left alone, with the command that updates it.

--check only says whether there is a newer release. A running daemon keeps the
old version until it is restarted.

(`kosa8 upgrade` changes your plan; `kosa8 update` resizes a container.)

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--check` | bool | only check whether a newer release exists |  |

## Example

```
  kosa8 self-update
  kosa8 self-update --check
```

---
Source: https://docs.kosa8.com/reference/self-update/
