On Sequoia Mac with Apple Silicon (M3) and Postgres 18 the way to do it seems to be
export PATH="/Library/PostgreSQL/18/bin:$PATH"
in configuration file of shell of your choice (e.g. .zshrc).