PDF download Download Article
Quick, simple instructions to download files from GitHub
PDF download Download Article

If you need to download an application, file, or source code from GitHub, finding the download link can be a little tricky regardless of your skill level. In this article, we'll go over how to download a release, a single file, and clone (or download) a directory on GitHub.

Ways to Download Files from GitHub

  • To download a release, click on Releases on the right-hand side of the screen, then click the file you want to download.
  • To clone an entire repo, click the Code button, then click Download as ZIP.
  • To download a single file, navigate to the file, click Raw, then right-click anywhere on the screen and select Save as.
Method 1
Method 1 of 3:

Downloading a Release

PDF download Download Article
  1. You can do this by searching for the project on Google, or by going to github.com and searching for the repository (or repo) in the search bar at the top of the screen.
    • On GitHub, "releases" are files that the GitHub owner intends for users to download. Releases are usually installers or the necessary files needed to run a program.
    • You can download from GitHub even if you don't have an account.
  2. It's on the right-hand side of the screen.
    • If you want to download a repository or a single file from the repository, jump to their respective sections below.
    Advertisement
  3. The most recent release will be at the top of the page, and you'll see at least one file (but usually more) linked below. Simply click on one of the file links to download it.
    • If you want to download an older release, simply scroll down the page until you find your desired release and/or file.
  4. Advertisement
Method 2
Method 2 of 3:

Downloading a Single File

PDF download Download Article
  1. You can do this by searching for the project on Google, or by going to github.com and searching for the repository (or repo) in the search bar at the top of the screen.
    • You can download from a public GitHub even if you don't have an account, but you'll need to log in or sign up to download from a private repo.
  2. There are a few ways you can do this:
    • If you know the name of the file you want to download, click the "Go to file" search bar next to the green "Code" button, then type the name of the file. Click the file in the dropdown box that appears.
    • If you don't know the file name, navigate through the repo's directories until you find what you're looking for. Below the "Go to file" search bar, you'll see a list of all the directories in the repo.
  3. You'll find this button in the top bar above the file's contents, on the right-hand side of the screen.
  4. [1] Alternatively, you can press the keyboard shortcut Ctrl/CMD + S. Your file manager will open, allowing you to select a name and location to save the file.
  5. Advertisement
Method 3
Method 3 of 3:

Cloning a Repository

PDF download Download Article
  1. You can do this by searching for the project on Google, or you can go to github.com and search for the repository (or repo) using the search bar at the top of the screen.
    • You can download a public repo from GitHub even if you don't have an account. If you want to download a private repo, however, you will need to log in or sign up.
  2. It's near the top of the screen, above the GitHub repo directory list.
  3. It's at the bottom of the little menu that pops up when you click Code. Clicking this button will download a zipped copy of the entire repo to your computer.[2]
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

Expert Interview

Thanks for reading our article! If you’d like to learn more about using GitHub, check out our in-depth interview with Théo Dufort.

About This Article

Théo Dufort
Co-authored by:
Software Engineer and Full-Stack Web Developer
This article was co-authored by Théo Dufort and by wikiHow staff writer, Hannah Dillon. Théo Dufort is a Software Engineer and Full-Stack Web Developer based in Quebec, Canada. With nearly 6 years of experience, Théo is a full-stack developer specializing in web development. At just 16, he launched his own consulting business to advise on all things web design and development. Most recently he created MyBookQuest, designed to be an all-in-one platform for book lovers to track, organize, and fill their personal library. MyBookQuest aims to fill the gaps of the popular Goodreads app owned by Amazon by rewarding its users with points to give them different perks like discount coupons as an incentive to read, review, and rate their latest book. This article has been viewed 496,943 times.
How helpful is this?
Co-authors: 9
Updated: May 28, 2026
Views: 496,943
Categories: Programming
Article SummaryX

1. Go to https://github.com/ in a web browser.
2. Navigate to the file you want to download.
3. Click Releases (if it's available).
4. Click Go to file.
5. Click to select a file that you want to download.
6. Click Raw .
7. Right-click the page and click Save as.

Did this summary help you?

Thanks to all authors for creating a page that has been read 496,943 times.

Is this article up to date?

Advertisement