Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

How can I download ZIP file with curl command? I tried curl -sO, but error occurred. I want to download zip file from address:

but can't. What must I type?

share|improve this question

3 Answers 3

up vote 9 down vote accepted

I found it. I must use curl -LOk and it works fine. wget command is good too.

share|improve this answer
Worked for me. using Windows 7 – fedmich Dec 10 '14 at 7:08

If you want to download the file use wget [option]... [URL]... instead.

For more information regarding the options, just type this into your Terminal: man wget

For you purpose:


Note that the .zip file will be saved in the current directory you are in.

share|improve this answer
It would be helpful to explain the advantages of using wget over of curl. For anyone wondering the differences between the two see here. – Jorge Bucaran Dec 9 '14 at 17:50

Try wget instead of curl: wget

share|improve this answer
Can the downvoter explain? Or is the other poster? – don.joey Apr 26 '13 at 19:47
Could you explain why wget instead of curl? – Jorge Bucaran Dec 9 '14 at 17:52
less command lines (if you care) - which means less options, But the biggest difference is that wget support recursive download – Ran Davidovitz May 8 at 15:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.