Microsoft Visual Studio Code icon

Microsoft Visual Studio Code

Microsoft Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Microsoft Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

Install Command

Run this command in PowerShell on Windows with App Installer (winget) available. Review installer prompts and publisher requirements before proceeding.

winget install --id 'Microsoft.VisualStudioCode' --exact

Install details for Microsoft Visual Studio Code

Architectures
x64, arm64
Install scope
Machine-wide, Per-user
Installer format
INNO
Versions in winget-pkgs
196
  • •Inno Setup installer: winget passes Inno Setup's silent switches.

196 versions of Microsoft Visual Studio Code are currently kept in the winget community repository; the latest is 1.142.0. These details come from the package's manifests in microsoft/winget-pkgs and refresh every 12 hours.

Released: October 2026

Description

Microsoft Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Microsoft Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

Microsoft Visual Studio Code is available through winget as package ID Microsoft.VisualStudioCode, with version 1.142.0. Use the install command above to set it up on Windows without downloading a separate installer manually.

winget commands for Microsoft Visual Studio Code

Install the latest version

winget install --id 'Microsoft.VisualStudioCode' --exact

Install a specific version (1.142.0)

winget install --id 'Microsoft.VisualStudioCode' --exact --version '1.142.0'

Install for the current user only

winget install --id 'Microsoft.VisualStudioCode' --exact --scope user

Install for all users (machine scope)

winget install --id 'Microsoft.VisualStudioCode' --exact --scope machine

Install the arm64 build

winget install --id 'Microsoft.VisualStudioCode' --exact --architecture arm64

Upgrade to the latest version

winget upgrade --id 'Microsoft.VisualStudioCode' --exact

Uninstall

winget uninstall --id 'Microsoft.VisualStudioCode' --exact

Pin the installed version so winget upgrade --all skips it

winget pin add --id 'Microsoft.VisualStudioCode' --exact

Show the package details winget sees

winget show --id 'Microsoft.VisualStudioCode' --exact

Why install it with winget

VS Code is a code editor you can pair with Git, language runtimes, and a terminal. Install the editor first, then add the extensions and runtimes your projects need.

  • •One of the easiest apps to keep inside a repeatable Windows developer bootstrap
  • •Useful in setup scripts, onboarding docs, and new-PC checklists
  • •Avoids redoing manual editor installs every time a machine is rebuilt

Good fit for

Core editor in a new developer workstation setupBaseline coding install to pair with Git, Node.js, Docker, and terminalsReference point when comparing modern AI-first editors

Compare Microsoft Visual Studio Code with alternatives

All comparisons →

Compare alternatives before installing Microsoft Visual Studio Code on Windows.

Package ID

Microsoft.VisualStudioCode

Moniker

vscode

Common questions

How do I install Microsoft Visual Studio Code with winget?

Open PowerShell or Windows Terminal and run winget install --id 'Microsoft.VisualStudioCode' --exact. winget downloads the installer listed in the official winget-pkgs manifest, checks its SHA256 hash, and installs it.

How do I update Microsoft Visual Studio Code with winget?

Run winget upgrade --id 'Microsoft.VisualStudioCode' --exact. To update every installed package at once, run winget upgrade --all.

How do I uninstall Microsoft Visual Studio Code with winget?

Run winget uninstall --id 'Microsoft.VisualStudioCode' --exact. winget calls the uninstaller that the package registered with Windows.

Does Microsoft Visual Studio Code have a native ARM64 build?

Yes. The winget manifest lists installers for x64, arm64, and winget picks the ARM64 build automatically on Windows on ARM devices.

Can I install Microsoft Visual Studio Code without administrator rights?

Usually, yes. The manifest offers a per-user installer, so winget install --id 'Microsoft.VisualStudioCode' --exact --scope user installs it for your account only.

Related Apps

High-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

code-editordeveloper-toolseditor
v1.25.3GPL-3.0
Details →