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

This is not the latest version of Visual Studio Code available.

Visual Studio Code


Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 4/13/2017.

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

The following package parameters can be set:

  • /NoDesktopIcon - Don't add a desktop icon for Visual Studio Code.
  • /NoQuicklaunchIcon - Don't add an icon for Visual Studio Code 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 path.

These parameters can be passed to the installer with the use of --params.
For example: --params '"/NoDesktopIcon /DontAddToPath"'.


The package uses default install options except that it adds context menu entries and Visual Studio Code isn't started after installation.

For disabling the auto-update functionality of Visual Studio Code see the Visual Studio Code Auto Update Deactivation package.

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

C:\> choco install visualstudiocode --version 1.11.2

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

C:\> choco upgrade visualstudiocode --version 1.11.2


  • tools\ChocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $pp = Get-PackageParameters
    $mergeTasks = "!runCode"
    $mergeTasks += if ($pp.NoDesktopIcon) { ',!desktopicon' } else { ',desktopicon' }
    $mergeTasks += if ($pp.NoQuicklaunchIcon) { ',!quicklaunchicon' } else { ',quicklaunchicon' } 
    $mergeTasks += if ($pp.NoContextMenuFiles) { ',!addcontextmenufiles' } else { ',addcontextmenufiles' }
    $mergeTasks += if ($pp.NoContextMenuFolders) { ',!addcontextmenufolders' } else { ',addcontextmenufolders' }
    $mergeTasks += if ($pp.DontAddToPath) { ',!addtopath' } else { ',addtopath' }
    Write-Host "Merge Tasks: "
    Write-Host "$mergeTasks"
    $packageName = 'visualstudiocode'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url32 = ''
    $url64 = ''
    $checksum32 = '3fc0d5c5fefb51ee861310c5a521bc2064b5a26f5785731ebd88cb5f8b7644c5'
    $checksum64 = '3fc0d5c5fefb51ee861310c5a521bc2064b5a26f5785731ebd88cb5f8b7644c5'
    $packageArgs = @{
      packageName = $packageName
      unzipLocation = $toolsDir
      fileType = 'EXE'
      url = $url32
      url64bit = $url64
      softwareName = 'Microsoft Visual Studio Code'
      checksum = $checksum32
      checksumType = 'sha256'
      checksum64 = $checksum64
      checksumType64 = 'sha256'
      silentArgs = "/verysilent /suppressmsgboxes /mergetasks=$mergeTasks /log=""$env:temp\vscode.log"""
      validExitCodes = @(0, 3010, 1641)
    Install-ChocolateyPackage @packageArgs
  • tools\VSCodeSetup-stable.exe.ignore

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
[Deprecated] Visual Studio Code 29543 Sunday, May 13, 2018 approved
Visual Studio Code 1.23.1 6043 Friday, May 11, 2018 approved
Visual Studio Code 1.23.0 11189 Thursday, May 3, 2018 approved
Visual Studio Code 1.22.2 26672 Friday, April 13, 2018 approved
Visual Studio Code 1.22.1 136 Friday, April 6, 2018 approved
Visual Studio Code 1.21.1 31969 Thursday, March 15, 2018 approved
Visual Studio Code 1.21.0 9679 Thursday, March 8, 2018 approved
Visual Studio Code 1.20.1 25760 Wednesday, February 14, 2018 approved
Visual Studio Code 1.20.0 10031 Thursday, February 8, 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.