Installing and Starting pgAdmin 4
Harry
· 13 Sep 2026
· 1 views
Install Options
- Windows - The PostgreSQL installer from EnterpriseDB bundles pgAdmin 4.
- Linux/macOS - distro packages or pip.
- Docker - dpage/pgadmin4 image for server mode.
First Run and Master Password
After install, first run asks for a master password that protects stored server passwords (they are encrypted). One master password covers them all - do not lose it.
Start the App
Launch pgAdmin 4; a browser tab opens at localhost:5050 (desktop mode). Sign in with your master password, and the object browser tree appears on the left.
First Server (Docker example)
docker run -d -p 5050:80 -e PGADMIN_DEFAULT_EMAIL=admin@x.com
-e PGADMIN_DEFAULT_PASSWORD=adminpass --name pgadmin dpage/pgadmin4The container serves the web UI on port 5050.
Key Points
- Installs with PostgreSQL or standalone/Docker.
- A master password shields saved credentials.
- The browser-based UI opens on first run.
- Docker mode is the team/cloud route.