Skip to main content

System Requirements

Before installing Visual Studio Code, ensure your system meets these requirements:

Minimum Requirements

Processor

1.6 GHz or faster processor

Memory

1 GB RAM minimum2 GB RAM recommended

Storage

200 MB disk space

Operating System Support

  • Windows: Windows 10 or later (64-bit)
  • macOS: macOS 10.15 Catalina or later
  • Linux: RHEL 8+, Debian 10+, Ubuntu 20.04+, Fedora 36+
VS Code is built on Electron version 39.6.0 and uses Node.js for extension development. The current version is 1.111.0.

Installation by Platform

Windows Installation

Visual Studio Code supports both user-level and system-level installations on Windows.
1

Download the Installer

Download the appropriate Windows installer:
  • User Installer (recommended): Installs for the current user only, doesn’t require admin privileges
  • System Installer: Installs for all users, requires administrator privileges
  • Portable Mode: Run VS Code from a USB drive without installation
Choose your architecture:
  • 64-bit (x64) - Most modern Windows systems
  • ARM64 - For ARM-based Windows devices
The 32-bit (x86) version is no longer supported as of VS Code 1.83. Use the 64-bit version instead.
2

Run the Installer

  1. Double-click the downloaded .exe file
  2. Accept the license agreement
  3. Choose installation location (default: %LocalAppData%\Programs\Microsoft VS Code for user installer)
  4. Select additional tasks:
    • Add “Open with Code” to Windows Explorer context menu
    • Add “Open with Code” to directory context menu
    • Register Code as an editor for supported file types
    • Add to PATH (allows using code command from terminal)
  5. Click Install to begin installation
# The installer adds VS Code to PATH, allowing you to launch it from PowerShell:
code .
3

Launch VS Code

After installation completes:
  • Launch from the Start menu
  • Use the desktop shortcut (if created)
  • Run code from Command Prompt or PowerShell
  • Right-click any folder and select “Open with Code”
Press Win+R, type code, and press Enter to quickly launch VS Code.

Windows-Specific Features

Windows Subsystem for Linux (WSL) SupportVS Code integrates seamlessly with WSL, allowing you to develop in a Linux environment:
# Install the Remote - WSL extension
code --install-extension ms-vscode-remote.remote-wsl

# Open a folder in WSL from Windows
wsl
cd /home/username/project
code .
Windows Terminal IntegrationSet VS Code as your default editor in Windows Terminal:
{
  "defaultProfile": "{guid}",
  "profiles": {
    "defaults": {
      "environment": {
        "EDITOR": "code --wait"
      }
    }
  }
}

Silent Installation

For automated deployments:
# User Installer
VSCodeUserSetup-x64-1.111.0.exe /VERYSILENT /MERGETASKS=!runcode

# System Installer
VSCodeSetup-x64-1.111.0.exe /VERYSILENT /MERGETASKS=!runcode

Portable Mode

Create a data folder next to the VS Code executable to enable portable mode:
VSCode-win32-x64
├── Code.exe
├── data
│   ├── user-data
│   └── extensions
└── ...

Post-Installation Setup

Verify Installation

Confirm VS Code is installed correctly:
# Check VS Code version
code --version

# Expected output:
# 1.111.0
# e802965a9da346fb619bb708f64e54e927167133
# x64

Initial Configuration

1

Choose a Color Theme

  1. Open Command Palette: Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)
  2. Type “Color Theme”
  3. Select from built-in themes or install custom themes from the marketplace
Popular themes:
  • Dark+ (Default dark)
  • Light+ (Default light)
  • Monokai
  • Solarized Dark/Light
2

Configure Auto-Save

Enable automatic file saving:
{
  "files.autoSave": "afterDelay",
  "files.autoSaveDelay": 1000
}
Options:
  • off: Disable auto-save (default)
  • afterDelay: Save after a delay
  • onFocusChange: Save when editor loses focus
  • onWindowChange: Save when window loses focus
3

Set Up Extensions

Install essential extensions:
# Install via command line
code --install-extension ms-python.python
code --install-extension dbaeumer.vscode-eslint
code --install-extension esbenp.prettier-vscode
code --install-extension eamodio.gitlens

# List installed extensions
code --list-extensions
4

Configure Git Integration

VS Code has built-in Git support. Configure your Git settings:
# Set your identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"

# Set VS Code as default editor for Git
git config --global core.editor "code --wait"

# Use VS Code as diff tool
git config --global diff.tool vscode
git config --global difftool.vscode.cmd "code --wait --diff $LOCAL $REMOTE"

Advanced Installation Options

Development Container

For contributing to VS Code or developing in isolated environments:
# Clone the repository
git clone https://github.com/microsoft/vscode.git
cd vscode

# Install dependencies
npm install

# Build from source
npm run compile

# Launch development version
bash scripts/code.sh
Building from source requires at least 4 Cores and 8 GB of RAM (9 GB recommended). See the development container README for details.

Enterprise Deployment

Group Policy (Windows) Configure VS Code across an organization:
# Disable automatic updates
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\VisualStudioCode" -Name "Update" -Value "none" -PropertyType String

# Set telemetry level
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\VisualStudioCode" -Name "TelemetryLevel" -Value "off" -PropertyType String
Configuration Management Deploy settings via configuration files:
# User settings location:
# Windows: %APPDATA%\Code\User\settings.json
# macOS: ~/Library/Application Support/Code/User/settings.json
# Linux: ~/.config/Code/User/settings.json

Updating VS Code

VS Code automatically checks for updates. When available:
  1. Click the gear icon (⚙️) in the lower-left corner
  2. Select Check for Updates
  3. Follow prompts to download and install
Or download the latest installer manually.

Uninstalling VS Code

Using Control Panel
  1. Open Settings > Apps > Installed apps
  2. Search for “Visual Studio Code”
  3. Click Uninstall
Remove User Data
# Remove settings and extensions
Remove-Item -Recurse -Force $env:APPDATA\Code
Remove-Item -Recurse -Force $env:USERPROFILE\.vscode

Troubleshooting

This is often due to missing dependencies:
# Install missing libraries (Debian/Ubuntu)
sudo apt-get install libxss1 libgconf-2-4 libnss3 libasound2

# Check for errors
code --verbose
Reset application permissions:
# Fix permissions
sudo xattr -r -d com.apple.quarantine "/Applications/Visual Studio Code.app"
Disable Windows Defender scanning:
  1. Open Windows Security
  2. Go to Virus & threat protection > Manage settings
  3. Add exclusions for:
    • %LOCALAPPDATA%\Programs\Microsoft VS Code
    • %APPDATA%\Code
    • Your project folders
Configure proxy settings:
{
  "http.proxy": "http://proxy.company.com:8080",
  "http.proxyStrictSSL": false
}

Next Steps

Now that VS Code is installed:

Quickstart Guide

Learn the basics and write your first code

Keyboard Shortcuts

Master essential shortcuts to boost productivity

Extensions

Customize VS Code with extensions for your workflow

Settings Sync

Sync your settings across multiple machines

Build docs developers (and LLMs) love