How to update ACME client to use an alternative validation method (HTTP-01, DNS-01 or TLS-ALPN-01)

How did you install Certbot?