Disabling the AWS CLI pager can be completed in three different ways.
Disable the pager via environment variable
AWS_PAGER environment variable will disable the pager.
Disable the pager via configuration
In AWS CLI V2, support for a
cli_pager profile option was added. In the
~/.aws/config file, the
cli_pager may be used.
Disable the pager via CLI argument
A global argument named
--no-cli-pager exists to disable the AWS CLI pager per command usage.