How do I download a tarball from GitHub using cURL?

前端 未结 5 1562
旧时难觅i
旧时难觅i 2020-12-02 04:48

I am trying to download a tarball from GitHub using cURL, but it does not seem to be redirecting:

$ curl --insecure https://github.com/pinard/Pymacs/tarball/         


        
5条回答
  •  长情又很酷
    2020-12-02 05:41

    You can also use wget to »untar it inline«. Simply specify stdout as the output file (-O -):

    wget --no-check-certificate https://github.com/pinard/Pymacs/tarball/v0.24-beta2 -O - | tar xz
    

提交回复
热议问题