Wingetlywingetly
← All apps

Microsoft Visual Studio Code CLI

by Microsoft Corporationv1.126.0

Last updated

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 with winget

$ winget install --id Microsoft.VisualStudioCode.CLI --exact --version 1.126.0

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

Installers · v1.126.0

ArchitectureTypeScopeInstallDownload
x64ZIP
archive
-Direct
arm64ZIP
archive
-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

25 known CVEs via NVD

  • high7.4Fix in v1.136.2CVE-2026-81383affects before 1.136.2Sep 8, 2026

    Use of incorrectly-resolved name or reference in Visual Studio Code allows an unauthorized attacker to disclose information over a network.

  • high8.8Fix in v1.132.1CVE-2026-70336affects before 1.132.1Aug 11, 2026

    Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

  • high7.8Fix in v1.132.1CVE-2026-70335affects before 1.132.1Aug 11, 2026

    Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.

  • high8.8Fix in v1.132.1CVE-2026-69320affects before 1.132.1Aug 11, 2026

    Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

  • high8.2Fix in v1.132.1CVE-2026-69306affects before 1.132.1Aug 11, 2026

    Not failing securely ('failing open') in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

  • high7.8Fix in v1.132.1CVE-2026-69278affects before 1.132.1Aug 11, 2026

    Incorrect authorization in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

  • high8.8Fix in v1.132.1CVE-2026-59113affects before 1.132.1Aug 11, 2026

    Missing authorization in Visual Studio Code allows an unauthorized attacker to execute code over a network.

  • high7.8Fix in v1.132.1CVE-2026-58650affects before 1.132.1Aug 11, 2026

    Authorization bypass through user-controlled key in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Showing 8 of 25. Source: NVD, updated 5h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • PowerShellMicrosoft Corporation
    Microsoft.PowerShellv7.6.6.0

    PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

  • Windows App Runtime 1.8Microsoft Corporation
    Microsoft.WindowsAppRuntime.1.8v1.8.10

    Microsoft Windows App Runtime 1.8

  • Gaming Services Repair Tool for PCMicrosoft Corporation
    Microsoft.Gaming.GamingServicesRepairToolv10.0.26100.9546 (WinBuild.160101.0800)

    A portable standalone tool to repair and fix problems with the following apps:Xbox App; Xbox Identity Provider; Game Bar; and Gaming Services. It can (and will) also try to update or install those apps, though not silently.

  • Microsoft Visual C++ v14 Redistributable (x64)Microsoft Corporation
    Microsoft.VCRedist.2015+.x64v14.51.36247.0

    The Microsoft Visual C++ v14 Redistributable Package (x64).

  • Microsoft .NET Windows Desktop Runtime 10.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.10v10.0.12

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

  • Visual Studio BuildTools 2026Microsoft Corporation
    Microsoft.VisualStudio.BuildToolsv18.10.0

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

More from Microsoft Corporation or browse developer-tools, editor.

Frequently asked questions

How do I install Microsoft Visual Studio Code CLI on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Microsoft.VisualStudioCode.CLI --exact --version 1.126.0. winget downloads the installer from Microsoft Corporation and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install Microsoft Visual Studio Code CLI silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Microsoft.VisualStudioCode.CLI --exact 1.126.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall Microsoft Visual Studio Code CLI via winget?
Run: winget uninstall --id Microsoft.VisualStudioCode.CLI --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from Microsoft Visual Studio Code CLI's Apps & Features entry.
Is Microsoft Visual Studio Code CLI free?
Microsoft Visual Studio Code CLI is distributed under Microsoft Software License. Refer to the publisher (https://code.visualstudio.com) for the full license terms - Wingetly itself does not charge for installation.
Does Microsoft Visual Studio Code CLI work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls Microsoft Visual Studio Code CLI directly from the publisher.
How do I keep Microsoft Visual Studio Code CLI up to date?
Run winget upgrade --id Microsoft.VisualStudioCode.CLI --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of Microsoft Visual Studio Code CLI from microsoft/winget-pkgs.

Recent versions

  • 1.126.0latest
  • 1.125.1
  • 1.125.0
  • 1.124.2
  • 1.124.0
  • 1.123.2
  • 1.123.1
  • 1.123.0
  • 1.122.1
  • 1.122.0