0

In this documentation it says

unpack the archive and move the oc binary to a directory on your PATH

I tried echo $PATH and it returns:

bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

Clearly there are multiple path here, which one should I move cp oc binary to?

Paul R
  • 208,748
  • 37
  • 389
  • 560
Aero Wang
  • 8,382
  • 14
  • 63
  • 99

1 Answers1

0

/usr/local/bin would be the usual choice for user or third-party executables. That way it won't get wiped out when you update the OS.

See also: Where do you keep your own scripts on OSX? - the question is about scripts rather than binaries, but the same logic applies.

Paul R
  • 208,748
  • 37
  • 389
  • 560