Skip to content

How to update Pi-hole

I installed my Raspberry Pi as a network-wide adblocker with Pi-hole.

It works great.

Sometimes it’s necessary to update the Pi-hole software because new releases are updated, and so on.

You will see this notice at the bottom of the Pi-hole admin interface:

You can update it manually by logging in the Raspberry Pi, using VNC or SSH, and then run the

pihole -up

command.

And the version will be updated:

You can setup a script to run pihole -up from time to time automatically, using a cron job.

Run crontab -e and then at the bottom add

0 6 * * * pihole -up

to run it every day at 6am.


→ Here's my latest YouTube video

→ I wrote 17 books to help you become a better developer, download them all at $0 cost by joining my newsletter

JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025

Bootcamp 2025

Join the waiting list