Hi,
if you follow that example step by step, the mkdir command will fail, obviously:https://www.postgresql.org/docs/current/install-short.html
Is it worth fixing that with "mkdir -p ..."?
RegardsDaniel