$ sudo -u postgres -i
$ createuser -PWdE --interactive
$ createdb -U <username> <db-name>
$ psql -U <username> -d <db-name>
For more information visit: PostgreSQL - ArchWiki
$ sudo -u postgres -i
$ createuser -PWdE --interactive
$ createdb -U <username> <db-name>
$ psql -U <username> -d <db-name>
For more information visit: PostgreSQL - ArchWiki