Home > Net >  How can I download specific release from github?
How can I download specific release from github?

Time:01-17

I use this third party dependency in my javascript project

https://github.com/mozilla/pdf.js/

I can't find a way - how to download version 2.0.943 version from this dependency How can I do that

CodePudding user response:

To download a specific release from GitHub, you can do the following:

  • Go to the GitHub repository where the release is located. Click on the "Releases" tab, which is usually located at the top of the page.
  • Find the release you want to download and click on it.
  • Click on the "Assets" tab.
  • Click on the download button next to the file you want to download.

Alternatively, you can also download the release by its tag name using git command :

git clone https://github.com/OWNER/REPO.git
git checkout tags/TAG_NAME

Replace OWNER,REPO,TAG_NAME with the actual repository information, and that's it! The release should now be downloaded to your computer.

CodePudding user response:

Check this out,

https://cli.github.com/manual/gh_release_download

Here you can get all the details for your question

  • Related