Search code examples
curlhttpsrustup

Rustup says protocol "https" not supported or disabled in libcurl


I have been trying to use Rustup for a while now and it says this when I try to do anything with it:

info: caused by: [1] Unsupported protocol (Protocol "https" not supported or disabled in libcurl)

I know that cURL has HTTPS enabled — I just tried using it and it worked fine.


Solution

  • Probably not what you want to hear, but they have known issues at the moment with ARM.

    This workaround seems to work for me:

    It should also work to export RUSTUP_USE_HYPER=1 (assuming you aren't using tcsh) before running the rustup script, but the above is what I tested and used.