Skip to content
FLAVIO COPES
flaviocopes.com
2026

How to update Pi-hole

By Flavio Copes

Learn how to update Pi-hole on your Raspberry Pi by running the pihole -up command over SSH, and how to automate it on a schedule with a cron job.

~~~

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 available, and so on.

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

Pi-hole admin interface showing update available notifications for Pi-hole, Web interface, and FTL components

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

pihole -up

command.

Terminal showing pihole -up command running with update progress for Pi-hole Core, Web Interface, and FTL components

Terminal showing Pi-hole update completion with current version information and DNS service status

And the version will be updated:

Pi-hole admin interface footer showing updated version numbers for Pi-hole, Web interface, and FTL after update

You can set up 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.

~~~

Related posts about network: