Notices: This section not yet converted to new layout. Download stats are rolling back out.

Visual Studio Code


Package test results are passing.

This package was approved as a trusted package on 11/16/2018.

Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.


  • Meet IntelliSense: Go beyond syntax highlighting and autocomplete with IntelliSense, which provides smart completions based on variable types, function definitions, and imported modules.
  • Print statement debugging is a thing of the past: Debug code right from the editor. Launch or attach to your running apps and debug with break points, call stacks, and an interactive console.
  • Git commands built-in: Working with Git has never been easier. Review diffs, stage files, and make commits right from the editor. Push and pull from any hosted Git service.
  • Extensible and customizable: Want even more features? Install extensions to add new languages, themes, debuggers, and to connect to additional services. Extensions run in separate processes, ensuring they won't slow down your editor.

Package parameters

  • /NoDesktopIcon - Don't add a desktop icon.
  • /NoQuicklaunchIcon - Don't add an icon to the QuickLaunch area.
  • /NoContextMenuFiles - Don't add an Open with Code entry to the context menu for files.
  • /NoContextMenuFolders - Dont't add an Open with Code entry to the context menu for folders.
  • /DontAddToPath - Don't add Visual Studio Code to the system PATH.

Example: choco install vscode --params "/NoDesktopIcon /DontAddToPath"



To install Visual Studio Code, run the following command from the command line or from PowerShell:

C:\> choco install vscode

To upgrade Visual Studio Code, run the following command from the command line or from PowerShell:

C:\> choco upgrade vscode


  • tools\ChocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    . $toolsPath\helpers.ps1
    $softwareName = 'Microsoft Visual Studio Code'
    $version = '1.29.1'
    if ($version -eq (Get-UninstallRegistryKey "$softwareName").DisplayVersion) {
      Write-Host "VS Code $version is already installed."
    $pp = Get-PackageParameters
    $packageArgs = @{
      packageName    = 'vscode'
      fileType       = 'exe'
      url            = ''
      url64bit       = ''
      softwareName   = "$softwareName"
      checksum       = 'aa291ef9b57635b98fac06ca7a75345f5d778c074bba921062233199f3a3839c'
      checksumType   = 'sha256'
      checksum64     = '25205076ecc7942b66772f8f7e275e81e89427c06a1b4bc6c9b24bb4b9ae4342'
      checksumType64 = 'sha256'
      silentArgs     = '/verysilent /suppressmsgboxes /mergetasks="{0}" /log="{1}\install.log"' -f (Get-MergeTasks), (Get-PackageCacheLocation)
      validExitCodes = @(0, 3010, 1641)
    Install-ChocolateyPackage @packageArgs
  • tools\helpers.ps1 Show
    function Get-MergeTasks {
        $t  = "!runCode"
        $t += ', ' + '!'*$pp.NoDesktopIcon        + 'desktopicon'
        $t += ', ' + '!'*$pp.NoQuicklaunchIcon    + 'quicklaunchicon'
        $t += ', ' + '!'*$pp.NoContextMenuFiles   + 'addcontextmenufiles'
        $t += ', ' + '!'*$pp.NoContextMenuFolders + 'addcontextmenufolders'
        $t += ', ' + '!'*$pp.DontAddToPath        + 'addtopath'
        Write-Host "Merge Tasks: $t"
    function Close-VSCode {
        Get-Process code -ea 0 | ForEach-Object { $_.CloseMainWindow() | Out-Null }
        Start-Sleep 1
        Get-Process code -ea 0 | Stop-Process  #in case gracefull shutdown did not succeed, try hard kill

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • Microsoft


Release Notes

Version History

Version Downloads Last updated Status
Visual Studio Code 1.29.0 6185 Tuesday, November 13, 2018 approved
Visual Studio Code 1.28.2 23021 Thursday, October 18, 2018 approved
Visual Studio Code 1.28.1 7850 Friday, October 12, 2018 approved
Visual Studio Code 1.28.0 5703 Monday, October 8, 2018 approved
Visual Studio Code 1.27.2 27770 Thursday, September 13, 2018 approved
Visual Studio Code 1.27.1 9481 Thursday, September 6, 2018 approved
Visual Studio Code 1.27.0 1910 Thursday, September 6, 2018 approved
Visual Studio Code 1.26.1 19670 Friday, August 17, 2018 approved
Visual Studio Code 1.26.0 5845 Tuesday, August 14, 2018 approved
Show More

Discussion for the Visual Studio Code Package

Ground rules:

  • This discussion is only about Visual Studio Code and the Visual Studio Code package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Visual Studio Code, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.