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.


→ I wrote 17 books to help you become a better developer:

  • C Handbook
  • Command Line Handbook
  • CSS Handbook
  • Express Handbook
  • Git Cheat Sheet
  • Go Handbook
  • HTML Handbook
  • JS Handbook
  • Laravel Handbook
  • Next.js Handbook
  • Node.js Handbook
  • PHP Handbook
  • Python Handbook
  • React Handbook
  • SQL Handbook
  • Svelte Handbook
  • Swift Handbook
...download them all now!

Also, 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