r/HowToHack • • Jan 19 '23

How to download/clone a program from github?

so, i used this program on another computer and now i could only find it to download on github, but i'm newbie on github, could someone teach me how to clone/download it? thanks.

Edit: I'm on windows

0 Upvotes

6 comments sorted by

10

u/DJScoop17 Jan 19 '23

If you are on windows, you need to download first git bash.
If you are on Linux you need to download via terminal the package git with "sudo apt-get install git - y". If you are on mac, you have two methods:

  1. the same as windows with git bash.

  2. download homebrew and, as for Linux, install from terminal with "brew install git“.

After downloading git, you have to use the terminal and navigate to the folder where you want to have your download, then you have to use the command: "git clone git repository" (this last one is the link you can find in the repository online under thr button "clone" -> "http"). And you are good to go.

3

u/LeXsaT Jan 19 '23

Got it!! Thx dude!!

5

u/mprz How do I human? Jan 19 '23

1

u/LeXsaT Feb 10 '23

Perfect!! Thank you!!

1

u/ZGTSLLC Jan 25 '23

switch to Linux --- that is the correct answer....

0

u/[deleted] Jan 19 '23

[deleted]

8

u/LeXsaT Jan 19 '23

got it. I saw that maybe I need git bash because I use windows, but if not, I'll do it the way you said. thx dude!!