How to call VS Code Editor from terminal / command line

前端 未结 21 1421
别那么骄傲
别那么骄傲 2020-12-04 06:22

The question says it all.

How can I open VS Code editor from

  • windows cmd
  • linux and mac terminal

e.g. for notepad++ I write

21条回答
  •  北海茫月
    2020-12-04 07:03

    If you install VS CODE using snap. You will need to add /snap/bin in your PATH environment variable. so - open your .bashrc or .zshrc and add :/snap/bin in your PATH environment variable reload terminal, and than code comand will start it

提交回复
热议问题