visual studio code “Shell Command: Install 'code' command in PATH command.”

后端 未结 10 797
感动是毒
感动是毒 2020-12-31 01:57

I just started with Angular. I installed angular/cli and added a project. Now I want to use visual studio code.

I Open the Command Palette (Ctrl +

10条回答
  •  独厮守ぢ
    2020-12-31 02:43

    This works for me

    For Windows users

    Open Environment Variables

    System > Advance system settings > Advanced tab > environment variables on system variables click on Path and click Edit and add new Path named

    "C:\Users\Your-Username\AppData\Local\Programs\Microsoft VS Code\bin"
    

    For window users follow steps below and add new Path, after doing so restart your terminal you will get code command on your terminal

提交回复
热议问题