You can set the variable permanently in bash using the export command. For example, to set the pager to the cat program, execute:
export PRESTO_PAGER=catTo disable the pager entirely execute:
export PRESTO_PAGER=command line interface - Presto on EMR - setting the environment variable - Stack Overflow