I want to initialize postDB initialization, but I get command not found.
Is there any solution?
initdb/usr/local/var/postgres -E utf8

Thank you.

  • Answer # 1

    Runto get to the PostgreSQL prompt, then
    initdb -E utf8
    Let's execute.

    I saw another question, but it seems that postgres is not in the path or not installed in the first place.
    Have you confirmed that PostgreSQL is installed correctly?