# 使用 Homebrew, pacman 安装 pgrx

查看 pgrx 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pgrx
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

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

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

## 软件包事实

- **软件包键:** brew:pgrx
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pgrx>
- **版本:** 0.19.2
- **来源摘要:** Build Postgres Extensions with Rust
- **主页:** <https://github.com/pgcentralfoundation/pgrx>
- **仓库:** <https://github.com/pgcentralfoundation/pgrx>
- **许可证:** MIT
- **源码归档:** <https://github.com/pgcentralfoundation/pgrx/archive/refs/tags/v0.19.2.tar.gz>
- **最后更新:** 2026-07-30T16:10:50Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cargo-pgrx (cli)
- cargo-pgrx (别名)

## 依赖

- openssl@3

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.19.2
- 管理器更新时间: 2026-07-30
- 本地数据: OK
- 上游仓库: https://github.com/pgcentralfoundation/pgrx
- 检测到的最新版本: v0.19.2 (当前)

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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:** 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

## 其他软件包管理器记录

- pacman - cargo-pgrx - 0.19.2-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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/zh-hans/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [dbmate](https://pkg.so/zh-hans/brew/dbmate/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [pgcli](https://pkg.so/zh-hans/brew/pgcli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [pgformatter](https://pkg.so/zh-hans/brew/pgformatter/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [pgbouncer](https://pkg.so/zh-hans/brew/pgbouncer/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [diesel](https://pkg.so/zh-hans/brew/diesel/) - Shares pkgdb curated category or tags: cli, database, developer-tools, rust.
- [dblab](https://pkg.so/zh-hans/brew/dblab/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [pg_partman](https://pkg.so/zh-hans/brew/pg-partman/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [cargo-c](https://pkg.so/zh-hans/brew/cargo-c/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, cargo, cli, developer, developer-tools.
- [cargo-clone](https://pkg.so/zh-hans/brew/cargo-clone/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, developer, developer-tools, openssl.
- [cargo-crev](https://pkg.so/zh-hans/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/mxcl/pkgdb/blob/main/combined/pgrx.yml)


## 来源

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