title: How to cURL a JAR from remote URL
body: <p>I have a JAR that is available for download from an HTTP URL, say, <code>http://somerepo.example.org/myjar-1.0.jar</code>.</p>
  
  <p>I need a cURL command that will download it to the current directory; my best attempt thus far is:</p>
  
  <pre><code>curl -i -H "Accept: application/zip" -H "Content-Type: application/zip" -X GET http://somerepo.example.org/myjar-1.0.jar
  </code></pre>
  
  <p>When I run this my console fills with binary spam and seems to cause my entire terminal to have a melt down.</p>
  
  <p><strong>What is the correct cURL command to GET a JAR from a remote URL?</strong></p>