Command not found?

Command not found?
0

#1

I’m getting
“-bash: clone: command not found” in the terminal after downloading git and trying to clone a repository. Why do they have to make this so difficult?


#2

The command is git clone, not just clone.


#3

I’m doing $ git clone (repository)


#4

What is your OS? What shell are you using? Do you have git installed? Do other git commands work! Can you cut and paste the exact command you are trying to use?


#5

High Sierra. Idk what shell is. I’m almost positive I installed git and restarted my computer. I’m not sure, this is my first time using git.


#6

Try git help.

You’re not typing $ at the start of your command are you?


#7

That was exactly the problem. Haha, thanks!


#8

Just to explain: a $ is used in instructions to indicate the start of a terminal command. Your terminal may not display it, but the $ is pretty common to see when you’re working with the command line:
image

image