Changing the content from an html page to a shell script based on user-agent is a pretty bad abuse of HTTP. Why not at least require `-H 'Accept: text/x-shellscript'`? Or be more basic and give the script its own URL
If I run curl on Windows, do I get this script? A PowerShell version?
Why not make it https://clickhouse.com/linux-installer?
(Pull request is in ... it should be deployed on Monday and you can use https://clickhouse.com/install.sh ). Love the feedbacks, please keep them coming!
Because someone may not have curl and use another tool your server doesn't know.