Development Environment

How to Install Visual Studio Code on Windows 11

Install Visual Studio Code on Windows 11 and prepare your computer for coding, editing project files, using extensions, and working from the terminal.

Windows Basics Beginner Updated: May 10, 2026
How to Install Visual Studio Code on Windows 11

What Is Visual Studio Code?

Visual Studio Code, often called VS Code, is a free code editor from Microsoft. It is widely used for web development, programming, editing configuration files, working with Git, and managing project folders.

VS Code supports many languages including HTML, CSS, JavaScript, PHP, Python, SQL, JSON, and more. It also has an extension marketplace that lets you add extra features for your specific development workflow.

Download Visual Studio Code

STEP 01

Open the Official Visual Studio Code Website

Open your web browser and go to the official Visual Studio Code website.

text
https://code.visualstudio.com
Visual Studio Code download page open in a web browser on Windows 11
Open the official Visual Studio Code website and use the Windows download button.
STEP 02

Download the Windows Installer

Click the Download for Windows button. Your browser will download the Visual Studio Code installer to your computer.

Use the Official Download

Always download Visual Studio Code from the official website to avoid modified or unsafe installer files.

Install Visual Studio Code

STEP 03

Open the Downloaded Installer

Open your Downloads folder and double-click the Visual Studio Code installer file to begin the installation process.

STEP 04

Accept the License Agreement

Select the option to accept the agreement, then continue to the next screen.

STEP 05

Keep the Default Installation Location

Leave the default installation folder selected unless you specifically want to install Visual Studio Code somewhere else.

Visual Studio Code setup additional tasks screen on Windows 11
Enable the recommended options, especially adding Visual Studio Code to PATH.

Recommended Option

Adding VS Code to PATH makes it easier to open projects from Command Prompt, PowerShell, Git Bash, or another terminal.

STEP 07

Start the Installation

Click Install and wait for the installer to copy the required files to your computer.

STEP 08

Finish the Installer

When the installation is complete, leave the option to launch Visual Studio Code enabled and click Finish.

Visual Studio Code Installed

Visual Studio Code is now installed on your Windows 11 computer.

Launch Visual Studio Code

STEP 09

Open Visual Studio Code

If VS Code did not open automatically, open the Windows Start Menu, search for Visual Studio Code, and launch it.

Visual Studio Code welcome screen on Windows 11
The Visual Studio Code Welcome screen confirms that the editor opened successfully.
STEP 10

Confirm That VS Code Opens Correctly

Make sure the Visual Studio Code window opens without errors and displays the Welcome screen or editor interface.

VS Code Is Ready to Use

You can now use Visual Studio Code to open folders, edit files, install extensions, and work on programming projects.

Open a Project Folder

STEP 11

Open the Folder Menu

In Visual Studio Code, click File and then click Open Folder.

STEP 12

Select Your Project Folder

Choose the folder where you want to store or edit your project files, then click Select Folder.

Example Project Locations

If you are building local web development projects, your folder might be C:\Apache24\htdocs, C:\Projects, or another folder you created for your code.

Install Useful Extensions

Extensions add extra features to Visual Studio Code. You can install language tools, formatters, themes, Git helpers, and development utilities from the Extensions panel.

STEP 13

Open the Extensions Panel

Click the Extensions icon in the left sidebar or press Ctrl + Shift + X.

STEP 14

Search for Helpful Extensions

Search for extensions that match your work. For web development, useful examples include PHP Intelephense, Live Server, Prettier, and GitLens.

Keep Extensions Focused

You do not need to install many extensions right away. Start with only the tools you actually need for the type of projects you are building.

Verify the Code Command

STEP 15

Open Command Prompt or PowerShell

Open the Windows Start Menu, search for Command Prompt or PowerShell, and launch it.

STEP 16

Check the VS Code Version

Run the code --version command to confirm that Visual Studio Code is available from the terminal.

cmd
code --version

Terminal Command Verified

If the command displays a version number, Visual Studio Code is installed and available from the Windows terminal.

Open a Folder from the Terminal

STEP 17

Navigate to a Project Folder

In Command Prompt or PowerShell, move into a folder that contains a project or files you want to edit.

cmd
cd C:\Projects
STEP 18

Open the Folder in VS Code

Use the code command followed by a period to open the current folder in Visual Studio Code.

cmd
code .

What the Period Means

The period means the current folder. The code . command opens the folder you are currently inside directly in Visual Studio Code.

Conclusion

You have successfully installed Visual Studio Code on Windows 11, opened the editor, selected a project folder, installed extensions, and verified the code command from the terminal.

Installation Complete

Your Windows 11 computer is now ready to use Visual Studio Code for coding and web development.

Life Craft Alatyr symbol
Part of the Life Craft Network
Life Craft
Body Mind Spirit Craft
Enter the Guild →