📅  最后修改于: 2022-03-11 14:50:51.930000             🧑  作者: Mango
sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
Don’t forget to close the Terminal window and open a new one for changes to take effect.