Install
Install Kestrel on Linux or Windows from a package, mise or a release archive, on Home Assistant, with Docker, or from source.
Kestrel is one package, kestrel-nvr, for Linux on x86_64 and aarch64 and
for Windows on x64. It has the desktop app, the server and the kestrel
command in one: kestrel opens the app, kestrel serve runs the server with
no window, and anything else is the CLI. The server also comes as
a container image and a Home Assistant app.
Only released versions are packaged, and a client only works with a server of the same version, so update every device together. Each one says which side is older and how to update it when they differ.
Recording needs ffmpeg. The packages recommend it, and the container and
the Home Assistant app bring their own.
Install the package for your distribution, or use mise or the archive on any
distribution. The Arch, .deb and .rpm packages come with services to run
the server; see Linux services.
Install kestrel-nvr-bin from the timmo pacman repository, which has
ready-built, signed packages, or from the AUR. Only released versions are
packaged, so there’s no -git package.
From the pacman repository
Add its signing key, check the fingerprint is
F94469C08E3B717014E2815FA026A3671E9151DA, then trust it:
curl -fsSLO https://packages.timmo.dev/timmo-arch-repo.asc
sudo pacman-key --add timmo-arch-repo.asc
sudo pacman-key --finger F94469C08E3B717014E2815FA026A3671E9151DA
sudo pacman-key --lsign-key F94469C08E3B717014E2815FA026A3671E9151DAAdd the repository to /etc/pacman.conf, above the other repositories:
[timmo]
SigLevel = PackageRequired DatabaseOptional TrustedOnly
Server = https://packages.timmo.dev/$archThen install it, for x86_64:
sudo pacman -Syu kestrel-nvr-binpacman -Syu keeps it up to date with the rest of your system. These are
unofficial packages, not supported by Arch Linux.
From the AUR
The kestrel-nvr-bin package installs the release’s archive with an AUR helper such as yay, for x86_64 and aarch64:
yay -S kestrel-nvr-binFrom a release
Each release has the
x86_64 package as kestrel-nvr-bin-<version>-1-x86_64.pkg.tar.zst:
sudo pacman -U kestrel-nvr-bin-*-x86_64.pkg.tar.zstIt conflicts with the AUR’s kestrel, a file encryption tool, since both
have a kestrel command. The desktop app’s libraries (webkit2gtk-4.1,
gtk3 and libayatana-appindicator) and ffmpeg are optional, so a box
with no desktop takes the package for kestrel serve alone.
Each release has a .deb
for amd64 and arm64. Install it with apt, so its dependencies come too:
sudo apt install ./kestrel-nvr_<version>-1_amd64.deb--no-install-recommends leaves out the desktop app’s libraries and
ffmpeg, for a box that only runs kestrel serve.
Each release has an .rpm
for x86_64 and aarch64:
sudo dnf install ./kestrel-nvr-<version>-1.x86_64.rpmmise installs the release’s kestrel-nvr archive
through the aqua registry and
keeps it up to date:
mise use -g aqua:timmo001/kestrelPin a version with aqua:timmo001/kestrel@<version>; the archives start at
0.3.0. mise checks the download against the release’s
GitHub attestation.
aqua itself works too, with
aqua g -i timmo001/kestrel and then aqua i, and so does mise’s
github:timmo001/kestrel, straight from the releases.
This puts the kestrel command on your path, without the menu entry or
services. The app needs the desktop libraries listed under Arch Linux;
kestrel says which are missing.
Each release has a kestrel-nvr-<version>-linux-<arch>.tar.gz archive, with
the bundle in lib/kestrel-nvr and the kestrel command in bin:
tar -xzf kestrel-nvr-<version>-linux-x86_64.tar.gz
kestrel-nvr-<version>-linux-x86_64/bin/kestrel serveLike mise, it has no menu entry or services, and the app needs the desktop libraries.
Each release has
Kestrel-Setup-<version>-windows-x86_64.zip: unpack it and run
Kestrel-Setup.exe. It isn’t signed, so Windows asks before running it.
When the app’s server is on a newer version, the app offers to update itself
to match.
mise installs the release’s kestrel-nvr archive
through the aqua registry and
keeps it up to date:
mise use -g aqua:timmo001/kestrelPin a version with aqua:timmo001/kestrel@<version>; the archives start at
0.3.0. mise checks the download against the release’s
GitHub attestation.
aqua itself works too, with
aqua g -i timmo001/kestrel and then aqua i, and so does mise’s
github:timmo001/kestrel, straight from the releases.
This puts the kestrel command on your path.
Each release has a kestrel-nvr-<version>-windows-x86_64.zip archive, with
the bundle in lib\kestrel-nvr and the kestrel command in bin:
Expand-Archive kestrel-nvr-<version>-windows-x86_64.zip .
.\kestrel-nvr-<version>-windows-x86_64\bin\kestrel.cmd serveThe Home Assistant app runs the server on Home Assistant OS, for amd64 and aarch64. Add the repository with all my apps:
Then install Kestrel and start it. See Home Assistant for where it keeps its files and how other devices reach it, and the integration for Kestrel’s cameras in Home Assistant itself.
ghcr.io/timmo001/kestrel runs the server, for amd64 and arm64:
docker run -d --name kestrel --network host --restart unless-stopped \
-e KESTREL_NAME="Kestrel" -v kestrel:/data ghcr.io/timmo001/kestrel
docker exec kestrel kestrel pairSee Docker for what the image keeps where and how devices pair with it.
You need mise, which installs Bun, go2rtc and the other tools at the versions the repository pins:
mise install
mise run build
mise run serve:serverserve:server runs the server in the background; see
Starting the server. To keep it running
without a terminal, mise run desktop:install builds the desktop app and
installs it for you.
Checking a download
Release files come with a SHA256SUMS file and a GitHub attestation. Check
one with:
gh attestation verify <file> -R timmo001/kestrel
Updating
Update every device to the same version:
| Installed with | How to update |
|---|---|
| Arch Linux | sudo pacman -Syu, or your AUR helper |
| Debian, Fedora | Install the new package from the latest release |
| mise | mise up |
| Windows | Choose Update Kestrel in the app when it offers |
| Home Assistant | Update the Kestrel app under Settings, Apps |
| Docker | Pull ghcr.io/timmo001/kestrel and start the container again |
On Linux, restart the server’s service after updating the package.