What is Visual Studio Code?

Visual Studio Code (commonly called VS Code) is a free, open-source code editor developed by Microsoft. It's lightweight, fast, and packed with powerful features like IntelliSense code completion, built-in Git support, an integrated terminal, and a massive extensions marketplace with over 40,000 extensions.

VS Code supports virtually every programming language — JavaScript, Python, HTML/CSS, C++, Java, Go, Rust, and many more — through its extension system. It's the most-used code editor in the world according to the Stack Overflow Developer Survey, preferred by over 70% of developers.

Quick Summary

Open the official website → Download the Windows installer → Run the setup → Accept the license → Choose the installation path → Select additional tasks (like "Add to PATH") → Click Install → Launch VS Code. Screenshots for every step are included below.


System Requirements for VS Code on Windows

Before downloading, make sure your system meets these minimum requirements. VS Code is very lightweight, so most modern Windows PCs will run it without any issues.

Requirement Minimum Recommended
Operating System Windows 10 (64-bit) Windows 11 (64-bit)
Processor (CPU) 1.6 GHz or faster 2.0 GHz dual-core or faster
Memory (RAM) 1 GB 4 GB or more
Disk Space 400 MB 1 GB+ (with extensions)
Internet Connection Required for download Required for extensions & updates
Note: VS Code is a 64-bit application and will not install on 32-bit versions of Windows. If you're unsure, right-click This PCProperties and check your system type.

Why Choose Visual Studio Code?

🆓
Free & Open Source
Completely free under the MIT license. No premium tiers, no trial periods, no hidden costs.
🪶
Lightweight & Fast
Starts in under 2 seconds. Uses minimal RAM compared to full IDEs like Visual Studio or IntelliJ.
🧩
40,000+ Extensions
Add language support, themes, debuggers, linters, Git tools, and more from the built-in marketplace.
🧠
IntelliSense
Smart code completion, parameter hints, and quick info across JavaScript, Python, HTML, CSS, and more.
🔧
Integrated Terminal
Run commands, git operations, and build scripts without leaving the editor. Supports PowerShell, CMD, and WSL.
🔀
Built-in Git Support
Track changes, stage files, commit, push, and pull directly from the source control sidebar.

Installation — Step by Step

Follow these 8 simple steps to download and install Visual Studio Code on your Windows PC. Each step includes a screenshot so you can follow along visually.

01

Visit the Official VS Code Website

Open your web browser (Chrome, Edge, Firefox, etc.) and navigate to https://code.visualstudio.com/. This is the official Microsoft page — always download from here to avoid modified or unsafe installers.

VS Code official website homepage showing the blue download button for Windows

The official Visual Studio Code download page

02

Download the Windows Installer

Click the "Download for Windows" button. The website will automatically detect your system and offer the correct .exe installer (usually User Installer for 64-bit Windows). The file VSCodeSetup-x64-*.exe will be saved to your Downloads folder.

Download button highlighted on the VS Code website for Windows

Click "Download for Windows" to get the installer

03

Run the Installer

Open your Downloads folder and locate VSCodeSetup.exe. Double-click the file to launch the installation wizard. If Windows shows a "User Account Control" prompt asking "Do you want to allow this app to make changes?", click Yes.

VS Code installer welcome screen after running VSCodeSetup.exe

The VS Code setup wizard welcome screen

04

Accept the License Agreement

Read the license agreement (it's the MIT License — very permissive), select "I accept the agreement", and click Next to continue with the installation.

VS Code license agreement screen with the accept option selected

Accept the MIT license agreement to proceed

05

Choose the Installation Location

Select the folder where VS Code will be installed. The default path is usually C:\Users\[YourName]\AppData\Local\Programs\Microsoft VS Code. You can keep the default or click Browse to choose a custom location, then press Next.

Installation location selection screen in VS Code setup

Choose where to install VS Code on your drive

06

Select Additional Tasks

This is an important screen. Here are the recommended options to check:

  • Add "Open with Code" action to Windows Explorer file context menu — right-click any file to open it in VS Code
  • Add "Open with Code" action to Windows Explorer directory context menu — right-click any folder to open it as a project
  • Register Code as an editor for supported file types — makes VS Code the default for .js, .py, .html, etc.
  • Add to PATH — allows you to type code in any terminal to open VS Code
  • Create a Desktop Shortcut — quick access from your desktop

After selecting your options, click Next.

Additional tasks screen showing PATH, desktop shortcut, and context menu options

Select additional tasks — "Add to PATH" is highly recommended

07

Install Visual Studio Code

Click the Install button to begin the installation process. This typically takes 30 seconds to 2 minutes depending on your system speed. Wait for the progress bar to complete.

VS Code installation progress bar showing the setup is copying files

Installation in progress — wait for it to finish

08

Launch Visual Studio Code

Once the installation is complete, check the box labeled "Launch Visual Studio Code" and click Finish. VS Code will open immediately, and you'll see the welcome tab with quick-start options.

VS Code completion screen with the launch checkbox and finish button

Check "Launch Visual Studio Code" and click Finish

Pro Tip: If you forgot to check "Add to PATH" during installation, you can add it manually later. Open VS Code → press Ctrl+Shift+P → type shell command → select "Shell Command: Install 'code' command in PATH".

After Installation — What to Do Next

Now that VS Code is installed, here are the first things you should do to set up your development environment properly:

1

Install Essential Extensions

Click the Extensions icon in the sidebar (or press Ctrl+Shift+X) and install must-have extensions like Prettier (code formatting), ESLint (JavaScript linting), Live Server (local dev server), and language-specific extensions for your stack.

2

Change the Theme

Go to File → Preferences → Color Theme (or Ctrl+K Ctrl+T) and pick a theme you like. Popular choices include Dark+ (default dark), One Dark Pro, GitHub Dark, and Ayu Dark.

3

Open Your First Project

Go to File → Open Folder (or Ctrl+K Ctrl+O) and select a folder on your computer. VS Code will show your files in the Explorer sidebar, and you can start editing immediately.

4

Try the Integrated Terminal

Press Ctrl+` (backtick) to open the built-in terminal. You can run npm install, git commands, python scripts, and more — all without leaving VS Code.

5

Enable Auto Save

Go to File → Auto Save to enable automatic file saving. This prevents you from losing work if you accidentally close the editor or your computer crashes.


Best Practices & Common Mistakes

Do
  • Always download from the official code.visualstudio.com website
  • Check "Add to PATH" during installation
  • Enable "Open with Code" context menu options
  • Keep VS Code updated for security and performance fixes
  • Install only necessary extensions to keep the editor fast
  • Use the User Installer (not System Installer) for personal use
Don't
  • Download VS Code from third-party sites or unofficial sources
  • Skip the "Add to PATH" option — you'll need it for terminal usage
  • Install too many extensions at once — it slows down startup time
  • Use the System Installer unless you're an IT admin managing shared machines
  • Ignore update notifications — they often include important security patches
  • Store large project files directly on the VS Code installation drive if space is limited
Security Warning: Never download VS Code from third-party download sites, cracked software portals, or suspicious links. These may contain modified installers with malware, adware, or tracking software. The official URL is always code.visualstudio.com.

Frequently Asked Questions

Is Visual Studio Code free?
Yes, Visual Studio Code is completely free and open source. It is released under the MIT license and developed by Microsoft. There are no hidden fees, no premium tiers, no trial periods, and no feature restrictions. Every feature — including the debugger, Git integration, and extensions marketplace — is free for everyone.
What are the system requirements for VS Code on Windows?
VS Code requires Windows 10 or later (64-bit), at least 1 GB of RAM (4 GB recommended), and approximately 400 MB of free disk space for the base installation. You'll need additional space for extensions and your project files. A 1.6 GHz or faster processor is the minimum requirement.
Should I add VS Code to PATH during installation?
Yes, absolutely. Adding VS Code to PATH allows you to open the editor from any terminal or command prompt by simply typing code. It also enables shell integration features and makes it possible to use VS Code as the default editor for tools like Git. If you skipped this during installation, you can add it later from the command palette (Ctrl+Shift+P → "Shell Command: Install 'code' command in PATH").
Can I install VS Code on Mac or Linux?
Yes, VS Code is fully cross-platform. For macOS, download the .zip or .dmg file from the official website. For Linux, choose your package format: .deb (Debian/Ubuntu), .rpm (Fedora/RHEL), or .tar.gz (universal). You can also install via package managers like brew install --cask visual-studio-code on macOS or sudo apt install code on Ubuntu.
How do I update Visual Studio Code after installation?
VS Code automatically checks for updates in the background and shows a notification when a new version is available. Click the notification to restart and update. You can also manually check by going to Help → Check for Updates in the menu bar. Updates are downloaded incrementally and installed quickly without requiring a full re-download.
What is the difference between Visual Studio and Visual Studio Code?
Visual Studio is a full-featured, heavyweight IDE primarily designed for .NET, C++, and enterprise development. It comes in paid editions (Community, Professional, Enterprise) and requires significant disk space (several GB). Visual Studio Code is a lightweight, free, extensible code editor that supports virtually any language through extensions. VS Code starts faster, uses less memory, and is the preferred choice for web development, scripting, and general-purpose coding.

Conclusion

Congratulations! You've successfully downloaded and installed Visual Studio Code on Windows in just 8 simple steps. VS Code is now ready to use — you can open files, install extensions, customize your theme, and start building projects right away.

To get the most out of VS Code, make sure you've added it to PATH, enabled the context menu options, and installed the essential extensions for your development stack. Check out the related tutorials in the sidebar for more guides on setting up your coding environment.

Found this guide helpful? Explore the related projects below for more tutorials and modern front-end UI components.