$ sudo -u username psql # Username of the account you created when installing postgres. Typically 'postgres' $ password # Your sudo account password $ CREATE DATABASE 'database_name';