apt install psql cli code example Example: how to install psql in ubuntu sudo apt-get install postgresql