Updating Pi-Hole is an easy task. First, make sure your base OS is up to date. On Raspberry Pi OS, run the following command to update the OS:
It is always a good idea to update the base system OS first before update!
sudo apt update && sudo apt upgrade -y
Next, run the Pi-Hole update command:
sudo pihole -up