If you’re trying to download a program, file, or source code from GitHub, finding the right download link can be confusing. You’ll instead see the download button on the right side of the page when you navigate to the root of the repository.
In this tutorial, TheGhanaTech.com will teach you how to download files from GitHub without going through any hassle.
How to download files from GitHub
Check “Releases” First
- Open a web browser and load the GitHub site of the project that contains a program (binaries) or source code you’d like to download.
- When it opens, look in the column on the right side of the screen for a “Releases” section.
- Click the first item in the “Releases” list, which will usually have a “Latest” label beside it.
- On the Releases page, scroll down to the “Assets” section and click the link for the file you’d like to download. Usually, it will be a file that matches your platform. For example, on a Linux machine, you might download a .DEV, .RPM, or .TAR.GZ file. On Windows, you might click a .ZIP, .MSI, or .EXE file. On a Mac, you’ll probably download a .DMG or .ZIP file. If you’re just looking for source code, click “Source Code.”
Check the “README” File
Many Github Projects have a “README” section just below the list of code files at the top of the website. This is a section that developers can format like a traditional web page that can include images (such as screenshots) and links that describe the project.
- Open a web browser and load the GitHub page of the project you want to download, scroll down to the README section and look for a section called “Downloads” or maybe a “Download” link. Click it.
- You’ll either download the file you need, or you’ll be taken to the proper “Releases” page or some other archive that includes the files you want to download.
Check the Project Website
- Open a web browser and load the GitHub page of the project you want to download, you can usually find it on the right side of the GitHub page under the “About” section.
- Once you click that, you’ll be taken to the official website of the project, where you might be able to find a download link.
Note: If the GitHub page doesn’t have any “Releases” posted and there is no project website, then it probably only exists as source code on GitHub. To download it, navigate to the “Code” tab on the GitHub project’s page. Click the “Code” button, and in the menu that pops up, select “Download ZIP.”
Source: How-To Geek