This is how you can download an archive using curl:
curl -L -O https://github.com/prometheus/mysqld_exporter/releases/download/v0.11.0/mysqld_exporter-0.11.0.linux-amd64.tar.gz
-L
- Follow redirects-O
- Write output to a file named as the remote file