Install pogi
Install pogi v0.2.0 on macOS, Linux or Windows, or run it with Docker.
pogi is one file. Install it with a package manager, Docker or a download, then check that it runs.
1. Install
Choose one way.
brew install nrndev/tap/pogi- The
.deband.rpmpackages put pogi in/usr/bin. Use the.rpmon Fedora, RHEL and Amazon Linux. To remove pogi, runsudo apt remove pogiorsudo dnf remove pogi. - Scoop is a command-line installer for Windows. It puts pogi on your
PATH, andscoop update pogiupgrades it. go installneeds Go 1.27.3 or newer, with Go's bin folder on yourPATH.- For the Docker ports and options, see Run it with Docker.
Or download a binary
- Download the archive for your system from the releases page. Builds exist for Linux, macOS and Windows, on Intel (amd64) and Arm (arm64). Windows gets a
.zip. The others get a.tar.gz, and Linux also gets.deband.rpmpackages. Names look likepogi_0.2.0_windows_amd64.zip. - Check the file against
checksums.txt, which lists the SHA-256 sum of each file. - Unpack it and put
pogi(orpogi.exe) somewhere on yourPATH. Until then, run it from its folder as.\pogi.exe start.
Check that a download is genuine
GitHub's release job signs every release, with no long-lived keys. You can check a download in three ways, all optional:
-
With cosign, check
checksums.txt(downloadchecksums.from the release too), then check your archive against it as in step 2:txt. sigstore. json cosign verify-blob checksums.txt --bundle checksums.txt.sigstore.json \ --certificate-identity-regexp '^https://github.com/nrndev/pogi/.github/workflows/release.yml@refs/tags/v' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com -
With the GitHub CLI, check the archive's build provenance directly:
gh attestation verify pogi_0.2.0_linux_amd64.tar.gz -R nrndev/pogi -
With slsa-verifier, check the archive against the release's SLSA provenance (a signed record of how and from what source it was built). Download
pogi.intoto.jsonlfrom the release too:slsa-verifier verify-artifact pogi_0.2.0_linux_amd64.tar.gz --provenance-path pogi.intoto.jsonl \ --source-uri github.com/nrndev/pogi --source-tag v0.2.0
The Docker image is signed the same way: cosign verify ghcr.io/ with the same two certificate flags.
2. Check that it works
pogi versionpogi 0.2.03. Start it
pogi startThe web console is at http://localhost:7644/.
Run it with Docker
The image has Python and Node.js, so Lambda, Cloud Functions and Azure Functions run inside it. Arguments after the image name go to pogi start.
- Ports. The command above publishes the main port, 7644. Ports 10000 to 10002 are for Azure Blob, Queue and Table Storage, the same as Azurite. Leave them out if you don't use Azure Storage.
- IAM. IAM (the rules for who may call what) is off by default. Add
--iam softafter the image name to flag calls a policy would deny, while still allowing them. - Docker socket. Services that run real software, such as RDS, ECS and EKS, need Docker. Add
-v /var/run/docker.sock:/var/run/docker.sockto let pogi start containers. This gives pogi control of your Docker, so use it only on a machine you trust. pogi joins its own container to thepogiDocker network, so the containers it starts can call it back. - Data folder. Keep
/var/lib/pogion a volume or a host folder (the image declares it as a volume). pogi hands files to those containers from there, and copies in any other folder it needs.
The image listens on every address inside the container. Publish ports on 127.0.0.1 as above, so only your machine can reach them.
What else you may need
All of these are optional.
| Need | When |
|---|---|
| Docker | Services that run real software: RDS, ECS, Cloud SQL and Azure SQL. Docker, or any engine with the Docker API: Podman, Colima or OrbStack. Coverage says which services need it. On an Arm Mac (Apple Silicon), an image with no Arm build, such as the Azure Functions host, runs as amd64 under emulation. It works but starts slower. |
| Python 3 and Node.js | pogi runs Python and Node.js Lambda functions natively, so these runtimes must be on your machine. pogi doctor checks. |
| Trusting pogi's certificate | Some services use HTTPS on the main port, such as Azure Key Vault and Cosmos DB. Run pogi cert once to see how to trust pogi's own certificate authority (CA). |
| AWS SDKs for native Lambda | The CDK's custom resources need them. Run pogi lambda-sdks once. |