In macOS Sierra10.12.6, this path should be
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
(note: the official website that's wrong, https://www.sublimetext.com/docs/3/osx_command_line.html
Reference from the correct path: