Skip to main content

System Requirements

VS Code is a small download (< 100 MB) and has a minimal disk footprint (< 500 MB). It runs well on these platforms:

Windows

Windows 10 or later (64-bit)Recommended:
  • 1.6 GHz or faster processor
  • 1 GB RAM

macOS

macOS 10.15 (Catalina) or laterSupports:
  • Intel and Apple Silicon (M1/M2/M3)
  • Universal binary

Linux

64-bit Ubuntu, Debian, Red Hat, Fedora, SUSERequires:
  • GLIBCXX 3.4.25 or later
  • GLIBC 2.28 or later
VS Code ships monthly with new features and bug fixes. You can download the latest stable release from code.visualstudio.com.

Installation by Platform

Windows Installation

1

Download the Installer

Visit code.visualstudio.com/Download and download the Windows installer.Options:
  • User Installer (recommended) - Installs for current user only, no admin rights required
  • System Installer - Installs for all users, requires admin rights
  • ZIP Archive - Portable installation
2

Run the Installer

  1. Double-click the downloaded .exe file
  2. Accept the license agreement
  3. Choose installation location
  4. Select additional tasks (recommended options checked by default)
3

Additional Tasks

During installation, you can enable these options:
  • Add “Open with Code” action to Windows Explorer file context menu
  • Add “Open with Code” action to Windows Explorer directory context menu
  • Register Code as an editor for supported file types
  • Add to PATH (allows running code from command line)
We recommend enabling all options for the best experience.
4

Launch VS Code

After installation completes, you can launch VS Code from:
  • Start menu
  • Desktop shortcut (if created)
  • Command Prompt or PowerShell with code

Windows Package Managers

You can also install VS Code using package managers:
# Using Windows Package Manager (winget)
winget install Microsoft.VisualStudioCode

Windows Subsystem for Linux (WSL)

To use VS Code with WSL:
  1. Install VS Code on Windows
  2. Install the Remote - WSL extension
  3. Open a WSL terminal and run: code .
VS Code will automatically connect to your WSL distribution.

Alternative Installations

VS Code Insiders

Get daily builds with the latest features and bug fixes. Runs side-by-side with stable.

Portable Mode

Run VS Code from a USB drive. Download the ZIP/TAR.GZ and create a data folder next to the executable.

VS Code Server

Run VS Code on a remote server and connect from any browser with VS Code for the Web.

GitHub Codespaces

Use VS Code in the cloud with a complete development environment.

Post-Installation Setup

1

Verify Installation

Open a terminal and run:
code --version
You should see the version number, commit, and architecture.
2

Install Extensions

Enhance VS Code with extensions for your programming languages:
  1. Open VS Code
  2. Press Ctrl+Shift+X / Cmd+Shift+X to open Extensions view
  3. Search and install extensions for your languages:
    • Python for Python development
    • ESLint for JavaScript/TypeScript linting
    • C/C++ for C/C++ development
    • Java Extension Pack for Java development
3

Configure Settings

Customize VS Code to your preferences:
  1. Press Ctrl+, / Cmd+, to open Settings
  2. Search for settings to customize:
    • Font size and family
    • Color theme
    • Auto save
    • Format on save
4

Set Up Sync

Sync your settings, extensions, and keybindings across devices:
  1. Click the account icon in the lower left
  2. Select Turn on Settings Sync
  3. Sign in with Microsoft or GitHub
  4. Choose what to sync

Update VS Code

VS Code will notify you when an update is available:
VS Code will download and prompt you to restart to apply the update.Manual Update:
  • Download the latest installer from code.visualstudio.com
  • Run the installer (it will update your existing installation)
VS Code typically releases updates monthly. Enable automatic updates in File > Preferences > Settings > Update: Mode.

Uninstalling VS Code

  1. Open Settings > Apps > Apps & features
  2. Search for “Visual Studio Code”
  3. Click the three dots and select Uninstall
  4. Follow the uninstall wizard
To remove user data:
rmdir /s "%APPDATA%\Code"
rmdir /s "%USERPROFILE%\.vscode"
  1. Quit VS Code
  2. Open the Applications folder
  3. Drag Visual Studio Code to the Trash
  4. Empty the Trash
To remove user data:
rm -rf ~/Library/Application\ Support/Code
rm -rf ~/.vscode
# APT (Debian/Ubuntu)
sudo apt-get remove code

# DNF (Fedora)
sudo dnf remove code

# Snap
sudo snap remove code
To remove user data:
rm -rf ~/.config/Code
rm -rf ~/.vscode

Next Steps

Now that you have VS Code installed:

Quick Start Guide

Learn the essential features in under 5 minutes

User Interface

Understand the VS Code interface and layout

Extensions

Explore the vast ecosystem of extensions

Settings

Customize VS Code to match your workflow