Home  >  Article  >  Development Tools  >  How to run vscode using terminal

How to run vscode using terminal

angryTom
angryTomOriginal
2020-02-10 17:00:4212208browse

How to run vscode using terminal

How to run vscode using the terminal

1. First open the vscode software.

2. Press and hold shift command P at the same time to open the command panel.

3. Find Install ‘code’ command in PATH and execute it.

Usage:

Open the terminal on your computer and enter code to open the vscode software.

a) Open a single file:

For example, I want to open nginx.conf.

code /usr/local/etc/nginx/nginx.conf

b) Open the directory:

code .

Recommended related article tutorials: vscode tutorial

The above is the detailed content of How to run vscode using terminal. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn