Prerequisites
Node.js 18+
DBdock requires Node.js 18 or later.
PostgreSQL client tools
pg_dump, pg_restore, and psql must be on your PATH.Install PostgreSQL client tools
macOS
macOS
Ubuntu / Debian
Ubuntu / Debian
Fedora / RHEL
Fedora / RHEL
Windows
Windows
Download the installer from the PostgreSQL downloads page.
Select only the “Command Line Tools” component if you don’t need the full server.
Install DBdock
- npx (no install)
- Global install
- Project dependency
Always uses the latest published version. Best for one-off tasks.
Permission errors
Ifnpm install -g fails with EACCES:
Fix: configure npm's global prefix
Fix: configure npm's global prefix
The recommended fix is to point npm at a directory you own:
Workaround: sudo
Workaround: sudo
Only if you understand the implications:
Next steps
Quickstart
Run your first backup in 5 minutes.
Concepts
Understand how DBdock thinks about backups.

