These directions assume postgres is installed locally with a user—preferably not a superuser—with the same name as your OS username.
From the shell:
curl -OL https://github.com/devrimgunduz/pagila/archive/refs/tags/pagila-v3.1.0.tar.gz
tar -xvf pagila-pagila-v3.1.0.tar
cd pagila-pagila-v3.1.0