Resolve code Command Doesn’t Launch Visual Studio Code from Terminal on Mac - VicPhanDevOps/mac GitHub Wiki
• The following resolution is for if the code
command doesn’t launch Visual Studio Code from the Terminal.
•
• Press the command key and spacebar, type “visual studio code” and select the “Visual Studio Code” application.
•
• Press the shift, command and P keys to launch the Command Palette, type “shell command” and select “Shell Command: Install ‘code’ command in PATH.”
•
• Select “OK.”
•
• Expand the “Code” menu and select “Quit Visual Studio Code” or press the command and Q keys.
•
• Return to the Terminal, type code
and press the return key to launch Visual Studio Code.
•
• Visual Studio Code will launch this time around.
•