Install
PostgreSQL Migrator publishes releases on GitLab release page with attached artifacts for various distributions.
Use dnf or yum.
sudo dnf install https://gitlab.com/dalibo/pg_migrate/-/releases/permalink/latest/downloads/pg-migrate_linux_amd64.rpm
To enable bash completion, install bash-completion package.
Download latest DEB package, then install the package with apt or apt-get.
Download latest APK package, then install the package with apk.
To enable bash completion, install bash-completion package.
Use pacman.
sudo pacman -U https://gitlab.com/dalibo/pg_migrate/-/releases/permalink/latest/downloads/pg-migrate_linux_amd64.pkg.tar.zst
Or install pg-migrate-bin from AUR with your favorite AUR helper.
Download latest binary archive.
Extract the tarball and put pg_migrate binary in your path:
Install completion with the following invocation:
Reload your shell to enable command-line completion:
Check installation by requesting version:
For next steps, follow Get Started guide.