Let's take a look at the following steps:
- You can also run Visual Studio Code from the Terminal by typing code after adding it to the PATH environmental variable:
- Launch Visual Studio Code
- Open the Command palette by pressing Shift+ cmd + P
- Type shell command to find the Shell Command: Install 'code' command in PATH command
- Press Enter and Visual Studio Code will be added to the PATH
- Restart the terminal for the new $PATH value to take effect
- You'll be able to type code in any folder to start editing files in that folder
If you had earlier versions of Visual Studio Code and have added Visual Studio ...