User Tools

Site Tools


raspberry_pi:projects:pi_hole

This is an old revision of the document!


Pi-Hole

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content, without installing any client-side software.

Installation

One-Step Automated Install

Those who want to get started quickly and conveniently may install Pi-hole using the following command:

curl -sSL https://install.pi-hole.net | bash

Piping to bash is a controversial topic, as it prevents you from reading code that is about to run on your system.

If you would prefer to review the code before installation, we provide these alternative installation methods.

Alternative 1: Clone our repository and run

git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh

Alternative 2: Manually download the installer and run

wget -O basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh

Alternative 3: Use Docker to deploy Pi-hole

Please refer to the Pi-hole docker repo to use the Official Docker Images.

Updating

Updating is as simple as running the following command:

pihole -up
Updating
raspberry_pi/projects/pi_hole.1738769586.txt.gz · Last modified: 2025/02/05 15:33 by jmbargallo