pihole install code example Example 1: install pi hole cmd curl -sSL https://install.pi-hole.net | bash Example 2: how to upgrade pihole sudo pihole -up