Subl command not working - command not found

前端 未结 13 496
别那么骄傲
别那么骄傲 2021-01-30 05:11

I\'m having difficulty getting this set up. I fixed my .bash_profile, and created the symlink using the following command from the Sublime website:

         


        
相关标签:
13条回答
  • 2021-01-30 05:59

    I just downloaded MacOS Catalina version10.15 on a new iMac and following the Sublime documentation found that the following with double quote does not work for me:

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

    I instead did:

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

    and it worked.

    ATTENTION: this is the code worked on my iMac - MacOS Catalina 10.15, and I copy/pasted the working line directly from my machine. If you find other code working, please add another answer and specify your machine configuration. Or simple comment below. DO NOT EDIT THE CODE SECTION, ESPECIALLY ADDING THE DOUBLE QUOTE FOR THE WORKING LINE. THANKS!!

    0 讨论(0)
提交回复
热议问题