I had some problems using the linked subl command for Sublime 3 text. This was the same problem you encountered, I suppose.
Apparently, usr / local does not have the same controls on it. Therefore, instead of
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
as recommended by Sublime docs,
it was more line by line:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" usr/local/bin/subl
source
share