The single-line installer detects your Pi’s architecture and grabs the matching tarball. A Pi 4/5 running 64-bit Raspberry Pi OS resolves to linux-arm64; a Pi 3/4 running 32-bit OS resolves to linux-armv7.
curl -sSfL https://flocks.sh/install.sh | sh

Run a roost on the Pi

flocks roost --bind 0.0.0.0:7878 --isolation process

Pin it to boot

sudo cp ~/.local/bin/flocks /usr/local/bin/
sudo systemctl --user enable flocks-roost