install the postgres command line code example Example: install postgresql sudo snap install postgresql96