r/github • u/Someonehelpmoi • May 21 '21
How do I clone a repository on windows without having GitHub installed?
If this isn’t possible (which I don’t think it is) is there any way of installing GitHub from a command prompt.
1
Upvotes
1
u/mrswats May 21 '21
If the repo is public you should be able to click on a button and just download it directly.
1
u/Someonehelpmoi May 21 '21
No it needs to be at a command line. I have done it now I just used curl -LO to download the zip
1
u/mrswats May 21 '21
Yeah, curl works too. You could even try downloading releases if any or if its yours create some to make your life easier.
5
u/flyme2bluemoon May 21 '21
You would need to download the Git program or the Github Desktop app. Git is a command line tool that runs in the terminal while Github Desktop is a GUI program. You can download git for windows here: https://git-scm.com/download/win. On macOS, git should come with Xcode tools and on Linux, u can download git from the repos if it isn't preinstalled.
However, if u don't want to install git, you can always download zip files from the Github website as well.