There are different ways to list databases in PostgreSQL. Here are some ways:

List all databases including owner, access privileges and encoding:

\l or \list

Provides additional information such as, database size, description, and tablespace:

\l+ or \list+