pkg.soopen package index

brew / rank 2126

Install postgrest with Homebrew, Nix, pacman, scoop

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

Additional install commands

macOS

Homebrewverified · 100%
brew install postgrest

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/postgrest

Scoop official bucket manifest trees · bucket/postgrest.json · source: api.github.com

overview

Package summary

Serves a fully RESTful API from any existing PostgreSQL database

Commands and aliases

  • postgrest

history

Project history and usage

PostgREST is a standalone web server that exposes a PostgreSQL database as a RESTful API derived from database objects and permissions.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2014: The core PostgREST approach was publicly presented.
  • Later development: The project added richer querying, JWT authorization, OpenAPI output, resource embedding, and operational controls.
  • Current project: PostgREST maintains a production ecosystem and parallel supported release lines.

Related projects

  • PostgreSQL supplies the database, schema, roles, and functions that PostgREST exposes.
  • Supabase uses PostgREST as part of its PostgreSQL-centered platform.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for postgrest. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
postgrestcliglobal executable

freshness

Version and 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.

page generated2026-11-04
manager version16.5
manager updated2026-10-20
local dataok
upstreamcurrent
latest detectedv16.5

https://github.com/PostgREST/postgrest

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:postgrest
Version16.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/postgrest
Homepagehttps://github.com/PostgREST/postgrest
Repositoryhttps://github.com/PostgREST/postgrest
LicenseMIT
Source archivehttps://github.com/PostgREST/postgrest/archive/refs/tags/v16.5.tar.gz
Last updated2026-10-20T07:28:04Z
Pulseupdated
Dependenciesgmp, libpq
Build dependenciescabal-install, ghc@9.12
Uses from macOSlibffi
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepostgrest
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

postgrest

nix profile install nixpkgs#postgrest
  • normalized package name match
  • Matched by: Postgrest
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: postgrest from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

postgrest 10.1.0-94

REST API for any Postgres database

https://github.com/begriffs/postgrest

sudo pacman -S postgrest
  • License: MIT
  • Architecture: x86_64
  • 32 dependencies
  • normalized package name match
  • Matched by: Postgrest
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: postgrest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/postgrest

scoop install main/postgrest
  • normalized package name match
  • Matched by: Postgrest
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/postgrest.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation