Command not found under macos vm, is the /usr/local/bin usable for binaries?


When running MacOS, can I ln -s foobar /usr/local/bin?

I need to have a particular binary (which I precompile as this takes a lot of time on CI otherwise), in the system PATH. Also tried PATH=$PATH:$(pwd)/.bin/foobar, where .bin/foobar is where the binary is.

I get a command not found when the script calls “foobar”, even though did the ln and add to PATH.