DEV Community

Install psql in WSL

The guide outlines steps to completely remove an existing PostgreSQL installation from an Ubuntu system, including packages, binaries, and dependencies. Following the removal, it details the process of installing a new PostgreSQL instance along with necessary contrib packages and libraries. A new superuser role named "xyborg" is then created with a password for database administration. Finally, it demonstrates how to create a database named "lilo" and connect to it using the newly created user.
favicon
dev.to
dev.to
Create attached notes ...