Github: Download binary files

First, to get a list of the assets for the latest release:

curl -H "Authorization: token YOURGITHUBTOKEN" \ 

Then in the JSON, look up the url of the asset you want. For example it would look like:

"url": ""

Then you pass this to another curl command to retrieve the actual URL, which is actually a link to an Amazon S3 file.

curl -H "Authorization: token YOURGITHUBTOKEN" \
     -H "Accept:application/octet-stream" \

The URL will be in the "location" field of the HTTP response, and then use curl to get the file like this:

curl "" -i -o FILENAME