Ensure VS Code is in Your System’s Path
You need to make sure the VS Code is in your system’s PATH. For that open VS code and configure a few VS Code Settings.
- Open VS Code.
- Press
Ctrl
+Shift
+P
to open the Command Palette. - Type “Shell” and select “Shell Command: Install ‘code’ command in PATH.” and hit Enter
Now you can access VS Code using terminal.
How to Open VS Code Using Terminal?
Getting all your projects using a terminal is a new fun! Yes, you heard it right, you can access VS Code projects using the terminal, which is nothing but short and easy-to-remember commands. Starting VS code from the terminal provides a convenient and efficient way, especially for developers who are comfortable with the command line. This article will let you know How to open VS Code from Command-Line.
In this article, we’ll learn how to open VS Code using the terminal on both Windows and macOS. The process is the same for both operating systems. Now, dwelling further, we need to follow sequential steps to start VS Code from the terminal, which is as follows: