# Install pgrx with Homebrew, pacman

Build Postgres Extensions with Rust. Version 0.19.1 via Homebrew; verified 2026-06-23.

## Install

```sh
sudo av install brew:pgrx
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pgrx
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S cargo-pgrx
```

  Evidence: Arch Linux sync databases: cargo-pgrx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:pgrx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pgrx>
- **Version:** 0.19.1
- **Source summary:** Build Postgres Extensions with Rust
- **Homepage:** <https://github.com/pgcentralfoundation/pgrx>
- **Repository:** <https://github.com/pgcentralfoundation/pgrx>
- **Upstream docs:** <https://github.com/pgcentralfoundation/pgrx#readme>
- **License:** MIT
- **Source archive:** <https://github.com/pgcentralfoundation/pgrx/archive/refs/tags/v0.19.1.tar.gz>
- **Last updated:** 2026-06-23T21:56:51Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- cargo-pgrx (cli)
- cargo-pgrx (alias)

## Dependencies

- openssl@3

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.19.1
- Package-manager updated: 2026-06-23
- Local data: ok
- Upstream repository: https://github.com/pgcentralfoundation/pgrx
- Upstream latest detected: v0.19.1 (current)

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.pgrx/config.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pgrx
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- pacman - cargo-pgrx - 0.18.1-1: installed executable or alias match | Arch Linux sync databases: cargo-pgrx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Build PostgreSQL extensions with Rust | https://github.com/pgcentralfoundation/pgrx


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [dblab](https://www.automicvault.com/pkg/brew/dblab/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [dbmate](https://www.automicvault.com/pkg/brew/dbmate/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [diesel](https://www.automicvault.com/pkg/brew/diesel/) - Shares av.db curated category or tags: cli, database, developer-tools, rust.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [pg-schema-diff](https://www.automicvault.com/pkg/brew/pg-schema-diff/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [pg_partman](https://www.automicvault.com/pkg/brew/pg-partman/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [pg_top](https://www.automicvault.com/pkg/brew/pg-top/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [pgbackrest](https://www.automicvault.com/pkg/brew/pgbackrest/) - Shares av.db curated category or tags: cli, database, developer-tools, postgresql.
- [cargo-c](https://www.automicvault.com/pkg/brew/cargo-c/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, cargo, cli, developer, developer-tools.
- [cargo-clone](https://www.automicvault.com/pkg/brew/cargo-clone/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, developer, developer-tools, openssl.
- [cargo-crev](https://www.automicvault.com/pkg/brew/cargo-crev/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, developer, developer-tools, openssl.

## Combined YAML source

View the package source record on GitHub. [combined/pgrx.yml](https://github.com/automic-vault/db/blob/main/combined/pgrx.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
