The psql interactive terminal does not have a built-in way of clearing the screen. If use !
command we can execute a shell command for clearing a terminal screen.
\! clear;
There is also a way to clear a screen with a keyboard shortcut on Mac with ctrl + L command.