How to add link to Sublime Text?
Use one of the two forms shown below:

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl


Or:

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl


But do not mix both using quotes and backslashes to escape spaces.