While trying to install pagekite on OS X Snow Leopard using the following command:

$ pagekite.py --signup

I got:

-bash: $: command not found

I am a noob with the terminal but after reading a bit I understand that it is a problem with my PATH

echo $PATH

Can anybody spot the problem? If you ask me -without knowing a thing about it- I suspect the MacGPG2 (MacGnuPrivcacyGuard2) is out of place?

Thanks for your time!

  • 4
    Are you including the $? The command starts after that(pagekite.py --signup). The $ is used to refer to the start of the prompt, but that does not mean you include it when you type commands. – sameetandpotatoes Aug 16 '13 at 3:35
  • Similar help can be found at apple.stackexchange.com/a/208425/5472 – bmike Oct 19 '15 at 15:32

Your PATH looks fine. The PATH variable is a collection of folders/directories in which the shell looks for commands to execute. So if you install additional software like MacGPG there might get new parts added.

But I assume that the command you are calling is called pagekite.py and not actually $. So you should call it like

pagekite.py --signup

or (if it is in your current folder/directory)

./pagekite.py --signup

The $ is often used in documentation to represent the shell command prompt and should not be entered to run the command afterwards.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .