sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl 可能没有权限 $ echo $PATH 选取其中的一个路径