Computer >> Computer tutorials >  >> System >> Windows 11

Step‑by‑Step Guide: Installing Visual Studio Code on Windows

XINSTALL BY CLICKING THE DOWNLOAD FILE

You can install Visual Studio Code on Windows in a few quick steps. This guide shows you how to download it, install it, and set up the essentials.

Table of contents

  • How Do I Download And Install Visual Studio Code on Windows?
    • Download Visual Studio Code for Windows
    • Install Visual Studio Code
    • Set up essential extensions
    • Optional setup tips
    • FAQ

How Do I Download And Install Visual Studio Code on Windows?

Download Visual Studio Code for Windows

You start by getting the official installer from the Visual Studio Code website.

  1. Open your preferred browser on Windows.
  2. Go to the Visual Studio Code download page.
  3. Select the Windows installer option.
    Step‑by‑Step Guide: Installing Visual Studio Code on Windows
  4. Save the setup file to your computer.

You can also compare Visual Studio and Visual Studio Code if you want to see the differences by reading this guide on Visual Studio vs Visual Studio Code.

Install Visual Studio Code

You now run the installer and apply the basic setup.

  1. Open the downloaded Visual Studio Code setup file.
  2. Click I accept the agreement and choose Next.
  3. Select the installation location and click Next.
  4. Check options like Add to PATH or Create a desktop icon.
  5. Click Install and wait for the setup to complete.
  6. Click Finish to launch Visual Studio Code.
    Step‑by‑Step Guide: Installing Visual Studio Code on Windows

Set up essential extensions

You extend Visual Studio Code with tools that support your coding workflow.

  1. Open Visual Studio Code.
  2. Click the Extensions icon on the left sidebar.
     Step‑by‑Step Guide: Installing Visual Studio Code on Windows
  3. Search for your preferred language extension like Python or JavaScript.
  4. Click Install to add each extension.
    Step‑by‑Step Guide: Installing Visual Studio Code on Windows

You can explore recommended add ons in this guide on the best Visual Studio Code extensions.

Optional setup tips

You tailor the editor so it matches your workflow.

  1. Open File then Preferences to adjust themes and fonts.
  2. Enable Auto Save from the settings menu.
  3. Install Git and restart Visual Studio Code to use built in source control.

You can learn how to run code inside the editor with this guide on running code in Visual Studio Code.

FAQ

How do I update Visual Studio Code

You update it from the Help menu by selecting Check for Updates.

Why does Visual Studio Code ask for administrator rights

It may request elevation when you install certain components like shell integration.

Can I install Visual Studio Code without admin rights

Yes, you can use the user installer, which keeps files inside your user profile.

Does Visual Studio Code work on older Windows versions

It supports current Visual Studio Code releases on Windows 10 and later.

You now know how to install Visual Studio Code on Windows, add key extensions, and adjust basic settings. You can start writing and running code right away with an editor that fits your workflow.

Step‑by‑Step Guide: Installing Visual Studio Code on Windows

Milan Stanojevic Step‑by‑Step Guide: Installing Visual Studio Code on Windows

Windows Toubleshooting Expert

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he spends most of his time learning about computers and technology. Before joining WindowsReport, he worked as a front-end web developer. Now, he's one of the Troubleshooting experts in our worldwide team, specializing in Windows errors & software issues.

Readers help support Windows Report. We may get a commission if you buy through our links. Step‑by‑Step Guide: Installing Visual Studio Code on Windows

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more