[Skip to main content](https://adguard.com/kb/adguard-for-linux/#docusaurus_skipToContent_fallback)
[![AdGuard](https://adguard.com/kb/img/logo.svg)](https://adguard.com/kb/)[Docs](https://adguard.com/kb/)[Blog](https://adguard.com/blog/index.html)[Official website](https://adguard.com)
[](https://adguard.com/kb/adguard-for-linux/)
  * [English](https://adguard.com/kb/adguard-for-linux/)
  * [Русский](https://adguard.com/kb/ru/adguard-for-linux/)
  * [Deutsch](https://adguard.com/kb/de/adguard-for-linux/)
  * [Čeština](https://adguard.com/kb/cs/adguard-for-linux/)
  * [Français](https://adguard.com/kb/fr/adguard-for-linux/)
  * [Español](https://adguard.com/kb/es/adguard-for-linux/)
  * [Italiano](https://adguard.com/kb/it/adguard-for-linux/)
  * [Português (Brasil)](https://adguard.com/kb/pt-BR/adguard-for-linux/)
  * [日本語](https://adguard.com/kb/ja/adguard-for-linux/)
  * [한국어](https://adguard.com/kb/ko/adguard-for-linux/)
  * [中文（中国）](https://adguard.com/kb/zh-CN/adguard-for-linux/)
  * [中文（台灣）](https://adguard.com/kb/zh-TW/adguard-for-linux/)
  * [Help Us Translate](https://adguard.com/kb/miscellaneous/contribute/translate/program/)


[GitHub](https://github.com/AdguardTeam/KnowledgeBase)
Search`K`
[![AdGuard](https://adguard.com/kb/img/logo.svg)](https://adguard.com/kb/)
  * [Overview](https://adguard.com/kb/)
  * [General](https://adguard.com/kb/adguard-for-linux/)
  * [AdGuard for Windows](https://adguard.com/kb/adguard-for-windows/)
  * [AdGuard for Windows v8](https://adguard.com/kb/adguard-for-windows-8/)
  * [AdGuard for Mac](https://adguard.com/kb/adguard-for-mac/)
  * [AdGuard for Android](https://adguard.com/kb/adguard-for-android/)
  * [AdGuard for iOS](https://adguard.com/kb/adguard-for-ios/)
  * [AdGuard Browser Extension](https://adguard.com/kb/adguard-browser-extension/)
  * [AdGuard for Safari](https://adguard.com/kb/adguard-for-safari/)
  * [AdGuard Mini for Mac](https://adguard.com/kb/adguard-mini-for-mac/)
  * [AdGuard Content Blocker](https://adguard.com/kb/adguard-content-blocker/)
  * [AdGuard for Linux](https://adguard.com/kb/adguard-for-linux/)
    * [Installation, setup, and removal](https://adguard.com/kb/adguard-for-linux/installation/)
    * [Settings and protection management](https://adguard.com/kb/adguard-for-linux/settings/)
    * [Sending feedback](https://adguard.com/kb/adguard-for-linux/feedback/)
    * [How to set app exclusions and custom filters](https://adguard.com/kb/adguard-for-linux/cli-exclusions-and-filters/)
    * [AdGuard VPN CLI interaction](https://adguard.com/kb/adguard-for-linux/vpn-cli-interaction/)
  * [Miscellaneous](https://adguard.com/kb/adguard-for-linux/)
  * [Guides](https://adguard.com/kb/adguard-for-linux/)


  * [](https://adguard.com/kb/)
  * AdGuard for Linux


On this page
# AdGuard for Linux
AdGuard for Linux, also known as AdGuard CLI, is a command-line ad blocker. You can use it on Linux or macOS devices.
## Supported Linux distributions[​](https://adguard.com/kb/adguard-for-linux/#supported-linux-distributions "Direct link to heading")
AdGuard CLI supports the following Linux distributions:
  * Debian stable 10 or later
  * Ubuntu LTS 22.04, 24.04, or later
  * RHEL 8.0 or later
  * Fedora 35 or later


On Linux distributions that are **not based on Debian or Red Hat** , the automatic certificate installation script may not work properly.
Below are commands you may need to log in, enable protection, and manage the AdGuard settings.
  * [Installation, setup, and removal](https://adguard.com/kb/adguard-for-linux/installation/)
  * [Settings and protection management](https://adguard.com/kb/adguard-for-linux/settings/)
  * [Sending feedback](https://adguard.com/kb/adguard-for-linux/feedback/)


On Linux, press `Ctrl+Alt+T`. On your Mac, type `Terminal` in the search field.
To view all available commands, enter:
```
adguard-cli --help-all

```

[](https://github.com/AdguardTeam/KnowledgeBase/edit/master/docs/adguard-for-linux/adguard-for-linux.md)
[Previous Installation](https://adguard.com/kb/adguard-content-blocker/installation/)[Next Installation, setup, and removal](https://adguard.com/kb/adguard-for-linux/installation/)
  * [Supported Linux distributions](https://adguard.com/kb/adguard-for-linux/#supported-linux-distributions)


AdGuard
  * [Official website](https://adguard.com)
  * [About](https://adguard.com/contacts.html)
  * [Blog](https://adguard.com/blog/index.html)
  * [Discuss](https://adguard.com/discuss.html)
  * [Support AdGuard](https://adguard.com/support-adguard.html)


Products
  * [For Windows](https://adguard.com/adguard-windows/overview.html)
  * [For Mac](https://adguard.com/adguard-mac/overview.html)
  * [For Android](https://adguard.com/adguard-android/overview.html)
  * [For Android TV](https://adguard.com/adguard-android-tv/overview.html)
  * [For iOS](https://adguard.com/adguard-ios/overview.html)
  * [For browsers](https://adguard.com/adguard-browser-extension/overview.html)
  * [Version history](https://adguard.com/versions.html)


Support
  * [Support Center](https://adguard.com/support.html)
  * [How to create your own ad filter](https://adguard.com/kb/general/ad-filtering/create-own-filters/)
  * [AdGuard Ad Filters](https://adguard.com/kb/general/ad-filtering/adguard-filters/)
  * [Removal Instructions](https://adguard.com/removal.html)
  * [Userscripts](https://adguard.com/kb/general/extensions/)
  * [FAQ](https://adguard.com/support/faq.html)
  * [AdGuard status](https://status.adguard.com/)
  * [AdGuard diagnostics](https://adguard.com/test.html)


License
  * [Purchase License](https://adguard.com/license.html)
  * [Recover License](https://adguard.com/kb/general/license/what-is/)
  * [Terms of sale](https://adguard.com/terms-of-sale.html)
  * [Get Free License](https://adguard.com/get-adguard-for-free.html)
  * [Distribution](https://adguard.com/partners.html)


![AdGuard](https://adguard.com/kb/img/logo_dark.svg)
© 2009–2026 Adguard Software Ltd.
