To build and install locally, first install flatpak-builder with your package manager. Then run:
flatpak-builder
flatpak-builder build io.kopia.KopiaUI.json --force-clean --ccache --user --install