I run anything there on document or selection I get

/bin/sh: pandoc: command not found

enter image description here

I installed pandoc by brew install pandoc My pandoc's version is

There is probably something broken in my $PATH. Echo $PATH gives /usr/local/bin:/usr/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/texbin.

Both my $HOME/.profile and $HOME/.bashrc have export LANG=en_US.UTF-8 only. Doing ls -1 /bin/sh gives /bin/sh so existing.

Why does this error message come?

  • It's pandoc which is not found, not sh. What does type padoc return in Terminal?
    – nohillside
    May 17 '15 at 21:05
  • I get type pandoc pandoc is hashed (/usr/local/bin/pandoc) from type pandoc. May 17 '15 at 21:05

Solution here. Click the box in settings for $PATH

enter image description here

You must log in to answer this question.

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