Vscode Windows Install
VSCode is a cross-platform, free source code editor developed by Microsoft, supporting Windows, macOS, and Linux.
Before installing VS Code, please ensure 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](https://code.visualstudio.com/Download).
[!(#)](http://)
For Windows systems, be sure to download the correct version. If your system account is Administrator, you need to download the System Installer version; if it's another custom account, download the User Installer version.
By default, visiting the VS Code official website [https://code.visualstudio.com/](https://code.visualstudio.com/) will automatically match the installation package according to your system. For example, since I'm using macOS, the "Download for macOS" button appears:
!(#)
* * *
## Installing on Windows
Visit the VS Code official website [https://code.visualstudio.com/](https://code.visualstudio.com/), click "Download for Windows" to download the appropriate installer. By default, the Stable version will be downloaded.
!(#)
The downloaded file is an installer similar to VSCodeUserSetup-{version}.exe. Double-click the .exe file.
Once the installer opens, you'll be prompted to accept the terms and conditions of Visual Studio Code. Click "I accept the agreement," then click "Next."
!(#)
Choose the installation location. By default, VS Code installs in the directory C:Users{Username}AppDataLocalProgramsMicrosoft VS Code, where Username is your user name. Unless there are special requirements, just stick with the default setting and click "Next."
!(#)
Next, configure some Start Menu directories. You can leave these at their defaults and click "Next."
!(#)
After this, you can check the following options (recommended):
* Create a desktop shortcut.
* Add VS Code to the right-click menu (to conveniently open files directly with VS Code).
* Add VS Code to the PATH environment variable (to run the `code` command from the terminal).
!(#)
Click the "Install" button and wait for the installation to complete. Then launch VS Code.
!(#)
Finally, click "Finish" to complete the installation:
!(#)
Launch VS Code, and the interface should appear as follows:
!(#)
* * *
## Installing the Chinese Language Pack
Installing the Chinese language pack for VS Code is very simple. Open VS Code, click the extension icon on the left side, and type "Chinese" into the search box:
!(#)
Then click the "Install" button next to the first result, which is γChinese (Simplified) (Simplified Chinese)γ:
!(#)
After installation, restart VS Code, and the interface will display in Chinese.
* * *
## The `code` Command in VS Code
Enabling the `code` command in VS Code is very straightforward. First, open the Command Palette:
* macOS shortcut: β§βP
* Windows/Linux shortcut: Ctrl + Shift + P
Search for "Install 'code' command in PATH":
!(#)
Then select "Shell Command: Install 'code' command in PATH" to add a reference to the `code` command in the system PATH.
For detailed information about the VS Code `code` command, refer to: (#)
YouTip