Linux and macOS

Using curl

If you prefer using curl, you can execute the following command in your terminal:

curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

This command will download the installation script and execute it. The flags are used to ensure a -s silent, -S show errors, and -L follow redirects respectively. The -v flag is optional and stands for verbose output.


Using wget

Alternatively, if you prefer wget, you can run this command in your terminal:

wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

Similar to curl, this command downloads the script and executes it. The
--no-verbose flag ensures minimal output, while -O redirects the output to stdout.


Using fetch

For FreeBSD users or those who prefer fetch, you can execute the following command in your terminal:

fetch -o - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

This command downloads the script using fetch and then executes it. The
-o flag directs the output to stdout.

After downloading and executing the installation script, AdGuardHome will be installed on your system. However, make sure to review and understand the contents of the script before running it to ensure it aligns with your security practices.


Script Options

The installation script provides several options:

  • -c <channel>: Use a specified channel.
  • -r: Reinstall AdGuard Home.
  • -u: Uninstall AdGuard Home.
  • -v: Enable verbose output.

Alternative Methods

If you prefer manual installation, you can refer to the getting started article on the AdGuard Home website for detailed instructions.

Alternatively, you can use the official Docker image available on Docker Hub or install AdGuard Home securely and easily from the Snap Store if you’re running Ubuntu.

These alternative methods offer flexibility based on your preferences and system setup.

Last updated 01 Sep 2024, 10:22 CEST . history