Settings and protection management
To get a list of all available AdGuard commands, enter:
adguard-cli --help-all
Enable and disable protection
To enable protection, enter:
adguard-cli start
To disable protection, enter:
adguard-cli stop
To view the protection status, enter:
adguard-cli status
Check for updates
To check for updates, enter:
adguard-cli check-update
To update AdGuard for Linux, enter:
adguard-cli update
To view the update script output, enter:
adguard-cli update -v
Configure AdGuard for Linux
Use the config
command to configure AdGuard for Linux. Subcommands:
show
: Show the current configuration inproxy.yaml
set
: Configure an option inproxy.yaml
listen_ports.http_proxy
: HTTP listening portproxy_mode
: Proxy mode (manual
orauto
)
get
: Get the current status of the above options
Manage filters
Use the filters
command to configure AdGuard for Linux. Subcommands:
list
: List installed filters--all
: View all filters
install
: Install a filter. Enter the URL of the filter you want to installenable
: Enable a filter. Enter the name or ID of the filterdisable
: Disable a filter. Enter the name or ID of the filterupdate
: Update filters