postgresql install command code example
Example 1: how to install postgresql in manjaro
sudo pacman -S yay
yay -S postgresql pgadmin4
sudo -u postgres -i
initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data/'
exit
sudo systemctl enable --now postgresql
sudo systemctl status postgresql
Example 2: install postgresql
sudo snap install postgresql96