When installing Postgres, specifically after selecting the Data Directory, you may get this error:
Error
The existing data directory (catalog version: 201909212) is not compatible with
this server (catalog version: 201510051).
This is because you specified a data directory that already contains a database, and the database is of a newer version than is supported by the version of Postgres that you are trying to install.