I’m looking for something like createdb in PostgreSQL or any other solution that would allow me to create database with a help of a shell command. Any hints?

I’m looking for something like createdb in PostgreSQL or any other solution that would allow me to create database with a help of a shell command. Any hints?