VSCode macOS Installation
VSCode is a cross-platform, free source code editor developed by Microsoft, supporting Windows, macOS, and Linux.
Before installing VS Code, please make sure your device meets the following minimum requirements:
| Operating system | Minimum requirements |
|---|---|
| Windows | Windows 7 64-bit or later |
| macOS | macOS 10.11 El Capitan or later |
| Linux | Ubuntu 16.04+, Debian 9+, Fedora 30+, CentOS 7+ |
VS Code official website download page:https://code.visualstudio.com/Download。
By default, visiting the VS Code official website https://code.visualstudio.com/, the page automatically matches the installer to your system. For example, on macOS, a 'Download for macOS' button appears:

Install on macOS
Visit the VS Code official website https://code.visualstudio.com/, click "Download for macOS" to download a VSCode-darwin-universal.zip archive, which after extraction is a Visual Studio Code.

Drag Visual Studio Code.app into the "Applications" folder to make it available in the macOS Launchpad.

Press Command ⌘ key, then press the space bar, search for 'Visual' in the search box, and click the Visual Studio Code button to open it:

You can also find the Visual Studio Code icon in the Launchpad; once found, click it:


Mac OS will prompt whether to confirm opening the program downloaded from the Internet; just click the Open button:

Launch Visual Studio Code, and the interface is as follows:

The code command of VSCode
Enabling VSCode's code command is very simple; first open the Command Palette:
- macOS shortcut: ⇧⌘P
- Windows/Linux shortcut: Ctrl + Shift + P
Search for and install >shell command:

Then select Shell Command: Install 'code' command in PATH to add a reference to the code command in the system PATH.
