Skip to content

Instantly share code, notes, and snippets.

@SeanTolstoyevski
Last active October 15, 2023 15:41
Show Gist options
  • Save SeanTolstoyevski/2d8cef3074ac86160751fcc884b71711 to your computer and use it in GitHub Desktop.
Save SeanTolstoyevski/2d8cef3074ac86160751fcc884b71711 to your computer and use it in GitHub Desktop.
Download Latest Tagged Release In Github (Curl& Wget)

Prerequisites

  • You need to have wget and curl installed on your system.
  • You need to using tagged versioning repo (not asset release).

wget $(curl -s https://api.github.com/repos/iterativv/NostalgiaForInfinity/releases/latest | grep "zipball_url" | cut -d : -f 2,3 | tr -d \" | tr -d ,) -O downloaded.zip

If you do not use the -O flag, the file will be downloaded with the name of the tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment