Skip to content

Installation

pip install pgsync
Using a virtual environment
python3 -m venv venv
source venv/bin/activate  # Linux/macOS
# or: venv\Scripts\activate  # Windows
pip install pgsync

uv

Fast installation with uv:

uv tool install pgsync

Or within a project:

uv add pgsync

pipx

Install in an isolated environment:

pipx install pgsync

Docker

Pull the official image:

docker pull toluaina1/pgsync:latest

See Docker setup for running with Docker.


From Source

git clone https://github.com/toluaina/pgsync.git
cd pgsync
pip install -e .

Verify Installation

pgsync --version

You should see the version number printed.

Next Steps

Once installed, proceed to Setup to configure your database.