“code .” command is not working

后端 未结 6 2132
难免孤独
难免孤独 2021-01-05 05:06

I get this error:

code . is not recognised as an external or internal command, operable program or batch file

6条回答
  •  醉话见心
    2021-01-05 05:38

    For Mac OS, You can paste this into your terminal, or in your .bashrc file (or whatever shell config file you are using) :

    export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
    

提交回复
热议问题