![download github for mac download github for mac](https://docs.microsoft.com/en-us/visualstudio/mac/media/version-control-git-publish-new3.png)
DOWNLOAD GITHUB FOR MAC DOWNLOAD
Get the download URL for the desired assetīelow atom-mac is my desired asset via jq's select(.name="atom-mac.zip") curl -s "" \ Get the names of the assets published curl -s "" \ Note each repo can have different ways of providing the desired artifact, so I will demonstrate for a well-behaved one like atom. tl dr - more details belowĪssuming you want the macOS release: URL=$( curl -s "" \ I also made a downloads page that shows multiple releases which you can find here: Īs noted previously, jq is useful for this and other REST APIs. When the Ajax request completes, the URL of this button will change automatically to a direct download URL.
![download github for mac download github for mac](https://docs.microsoft.com/fr-fr/visualstudio/mac/media/version-control-git14.png)
It is important for you to set the default button URL to the releases page (like ) so if the browser does not support ajax (or javascript) or is too slow to get the URL, the download button will still work.