# Install pgsync with Homebrew, Nix

Sync Postgres data between databases. Version 0.8.1 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:pgsync
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pgsync
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pgsync
```

  Evidence: nixpkgs package indexes: pkgs/by-name/pg/pgsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:pgsync
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pgsync>
- **Version:** 0.8.1
- **Source summary:** Sync Postgres data between databases
- **Homepage:** <https://github.com/ankane/pgsync>
- **Repository:** <https://github.com/ankane/pgsync>
- **Upstream docs:** <https://github.com/ankane/pgsync#readme>
- **License:** MIT
- **Source archive:** <https://github.com/ankane/pgsync/archive/refs/tags/v0.8.1.tar.gz>
- **Last updated:** 2026-06-22T14:05:53-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- pgsync (cli)
- pgsync (alias)

## Dependencies

- libpq
- ruby

## 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.8.1
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/ankane/pgsync
- Upstream latest detected: v0.8.1 (current)

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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: .pgsync.yml
## Source Database Details

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

## Other Package-Manager Records

- Nix - pgsync: normalized package name match | nixpkgs package indexes: pkgs/by-name/pg/pgsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [ruby](https://www.automicvault.com/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [pgslice](https://www.automicvault.com/pkg/brew/pgslice/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgstream](https://www.automicvault.com/pkg/brew/pgstream/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgtoolkit](https://www.automicvault.com/pkg/brew/pgtoolkit/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgweb](https://www.automicvault.com/pkg/brew/pgweb/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgxnclient](https://www.automicvault.com/pkg/brew/pgxnclient/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [check_postgres](https://www.automicvault.com/pkg/brew/check-postgres/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [dexter](https://www.automicvault.com/pkg/brew/dexter/) - Shares av.db curated category or tags: cli, data, postgresql.
- [ephemeralpg](https://www.automicvault.com/pkg/brew/ephemeralpg/) - Shares av.db curated category or tags: cli, data, databases, postgresql.

## Combined YAML source

View the package source record on GitHub. [combined/pgsync.yml](https://github.com/automic-vault/db/blob/main/combined/pgsync.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
