macOS
brew install postgrestlocal Homebrew formula metadata
brew / rank 2126
Serves a fully RESTful API from any existing PostgreSQL database. Version 16.5 via Homebrew; verified 2026-10-20. Also installable with nix: nix profile install nixpkgs#postgrest.
install
brew install postgrestlocal Homebrew formula metadata
nix profile install nixpkgs#postgrestnixpkgs package indexes · postgrest · source: raw.githubusercontent.com
sudo pacman -S postgrestArch Linux sync databases · postgrest · source: geo.mirror.pkgbuild.com
scoop install main/postgrestScoop official bucket manifest trees · bucket/postgrest.json · source: api.github.com
overview
Serves a fully RESTful API from any existing PostgreSQL database
history
PostgREST is a standalone web server that exposes a PostgreSQL database as a RESTful API derived from database objects and permissions.
PostgREST emerged in 2014 around the idea of serving a REST interface directly from a PostgreSQL schema. It grew into a community-maintained Haskell server with automatic OpenAPI descriptions, JWT-aware authorization, resource embedding, and database-driven configuration.
PostgREST developed a production user base around organizations that wanted PostgreSQL itself to remain the source of API structure and authorization. The official documentation lists production adopters including Supabase and several independent services.
It is distributed as a standalone server and has accumulated an ecosystem of client libraries, templates, deployment examples, and integrations.
Users point PostgREST at a PostgreSQL database and model endpoints and permissions with tables, views, functions, and roles. Clients then query and mutate those resources over HTTP.
There is no predefined configuration-file location: the file path is supplied as the server's sole positional argument. Settings can instead come from `PGRST_` environment variables or in-database configuration. Secrets such as the database URI and JWT key are configuration values rather than a separately documented credentials file.
PostgREST is a notable example of turning database metadata into an application interface: tables, views, functions, relationships, and roles become an HTTP API without maintaining a conventional object-relational application layer.
For package users it is a compact companion to PostgreSQL, but its operational behavior still depends on careful database-role design, connection configuration, and schema-cache management.
security posture
No matching local secret-handling manifest was found for postgrest. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
postgrest | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/PostgREST/postgrest
install metadata
| Package key | brew:postgrest |
|---|---|
| Version | 16.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/postgrest |
| Homepage | https://github.com/PostgREST/postgrest |
| Repository | https://github.com/PostgREST/postgrest |
| License | MIT |
| Source archive | https://github.com/PostgREST/postgrest/archive/refs/tags/v16.5.tar.gz |
| Last updated | 2026-10-20T07:28:04Z |
| Pulse | updated |
| Dependencies | gmp, libpq |
| Build dependencies | cabal-install, ghc@9.12 |
| Uses from macOS | libffi |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgrest |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
postgrest
nix profile install nixpkgs#postgrestpostgrest 10.1.0-94
REST API for any Postgres database
https://github.com/begriffs/postgrest
sudo pacman -S postgrestmain/postgrest
scoop install main/postgrestsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.