Run / Open VSCode from Mac Terminal

后端 未结 16 1186
忘了有多久
忘了有多久 2020-12-07 07:01

I\'d like to run / open Visual Studio Code from the Mac OSX Terminal by running this command code .. I found instructions here:

https://code.visualstud

16条回答
  •  青春惊慌失措
    2020-12-07 07:32

    For Mac you can do : View > Command Palette > Shell command > "install code command in path". I'd assume there would be something similar for other OS's. After I do

    which code
    

    and it tells me it put it in /usr/local/bin

提交回复
热议问题