Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
- Passing
- Failing
- Pending
- Unknown / Exempted

Downloads:
722,463
Downloads of v 1.5.1:
1,553
Last Update:
09 Sep 2016
Package Maintainer(s):
Software Author(s):
- Microsoft
Tags:
Microsoft VisualStudioCode vscode editor ide javascript typescript admin- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

Visual Studio Code
This is not the latest version of Visual Studio Code available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
722,463
Downloads of v 1.5.1:
1,553
Maintainer(s):
Software Author(s):
- Microsoft
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Visual Studio Code 1.5.1
This is not the latest version of Visual Studio Code available.
All Checks are Passing
2 Passing Test
To install Visual Studio Code, run the following command from the command line or from PowerShell:
To upgrade Visual Studio Code, run the following command from the command line or from PowerShell:
To uninstall Visual Studio Code, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download visualstudiocode --internalize --version=1.5.1 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade visualstudiocode -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade visualstudiocode -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure visualstudiocode installed
win_chocolatey:
name: visualstudiocode
state: present
version: 1.5.1
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'visualstudiocode' do
action :install
version '1.5.1'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: visualstudiocode,
Version: 1.5.1,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller visualstudiocode
{
Name = 'visualstudiocode'
Ensure = 'Present'
Version = '1.5.1'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'visualstudiocode':
provider => 'chocolatey',
ensure => '1.5.1',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install visualstudiocode version="1.5.1" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 09 Sep 2016.
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Package Specifics
The package uses default install options except that it adds context menu entries and Visual Studio Code isn't started after installation.
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 anOpen with Code
entry to the context menu for files./NoContextMenuFolders
- Dont't add anOpen 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"'
.
# Default values
$createDesktopIcon = $true
$createQuickLaunchIcon = $true
$addContextMenuFiles = $true
$addContextMenuFolders = $true
$addToPath = $true
$arguments = @{}
$packageParameters = $env:chocolateyPackageParameters
if ($packageParameters)
{
$match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern )
{
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | % {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
}
else
{
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if ($arguments.ContainsKey("nodesktopicon"))
{
Write-Host "nodesktopicon"
$createDesktopIcon = $false
}
if ($arguments.ContainsKey("noquicklaunchicon"))
{
Write-Host "noquicklaunchicon"
$createQuickLaunchIcon = $false
}
if ($arguments.ContainsKey("nocontextmenufiles"))
{
Write-Host "nocontextmenufiles"
$addContextMenuFiles = $false
}
if ($arguments.ContainsKey("nocontextmenufolders"))
{
Write-Host "nocontextmenufolders"
$addContextMenuFolders = $false
}
if ($arguments.ContainsKey("dontaddtopath"))
{
Write-Host "dontaddtopath"
$addToPath = $false
}
}
else
{
Write-Debug "No Package Parameters Passed in"
}
$mergeTasks = "!runCode"
if ($createDesktopIcon)
{
$mergeTasks = $mergeTasks + ",desktopicon"
}
if ($createQuickLaunchIcon)
{
$mergeTasks = $mergeTasks + ",quicklaunchicon"
}
if ($addContextMenuFiles)
{
$mergeTasks = $mergeTasks + ",addcontextmenufiles"
}
if ($addContextMenuFolders)
{
$mergeTasks = $mergeTasks + ",addcontextmenufolders"
}
if ($addToPath)
{
$mergeTasks = $mergeTasks + ",addtopath"
}
Write-Host "Merge Tasks: "
Write-Host "$mergeTasks"
$packageName = 'VisualStudioCode'
$installerType = 'exe'
$silentArgs = "/silent /mergetasks=$mergeTasks /log=""$env:temp\vscode.log"""
$32BitUrl = 'https://az764295.vo.msecnd.net/stable/07d663dc1bd848161edf4cd4ce30cce410d3d877/VSCodeSetup-stable.exe'
$checksum = "54A694A7CF84A81B402849F30E14D42C14A76DC8321D927A3E577751453182BA"
$checksumType = "sha256"
$validExitCodes = @(
0 # success
)
Install-ChocolateyPackage -PackageName "$packageName" -FileType "$installerType" -SilentArgs "$silentArgs" -Url "$32BitUrl" -ValidExitCodes $validExitCodes -Checksum "$checksum" -ChecksumType "$checksumType"
Log in or click on link to see number of positives.
- VisualStudioCode.1.5.1.nupkg (1e4b39556f78) - ## / 56
- VSCodeSetup-stable.exe (54a694a7cf84) - ## / 57
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.
Version | Downloads | Last Updated | Status |
---|---|---|---|
[Deprecated] Visual Studio Code 1.23.1.20180730 | 123379 | Monday, July 30, 2018 | Approved |
[Deprecated] Visual Studio Code 1.23.1.20180513 | 29695 | Sunday, May 13, 2018 | Approved |
Visual Studio Code 1.23.1 | 8411 | Friday, May 11, 2018 | Approved |
Visual Studio Code 1.23.0 | 11328 | Thursday, May 3, 2018 | Approved |
Visual Studio Code 1.22.2 | 26818 | Friday, April 13, 2018 | Approved |
Visual Studio Code 1.22.1 | 237 | Friday, April 6, 2018 | Approved |
Visual Studio Code 1.21.1 | 32112 | Thursday, March 15, 2018 | Approved |
Visual Studio Code 1.21.0 | 9823 | Thursday, March 8, 2018 | Approved |
Visual Studio Code 1.20.1 | 26134 | Wednesday, February 14, 2018 | Approved |
Visual Studio Code 1.20.0 | 10164 | Thursday, February 8, 2018 | Approved |
Visual Studio Code 1.19.3 | 16107 | Friday, January 26, 2018 | Approved |
Visual Studio Code 1.19.2 | 17453 | Wednesday, January 10, 2018 | Approved |
Visual Studio Code 1.19.1 | 21634 | Thursday, December 21, 2017 | Approved |
Visual Studio Code 1.19.0 | 7968 | Friday, December 15, 2017 | Approved |
Visual Studio Code 1.18.1 | 33845 | Friday, November 17, 2017 | Approved |
Visual Studio Code 1.18.0 | 12319 | Thursday, November 9, 2017 | Approved |
Visual Studio Code 1.17.2 | 30795 | Wednesday, October 18, 2017 | Approved |
Visual Studio Code 1.17.1.20171012 | 10357 | Thursday, October 12, 2017 | Approved |
Visual Studio Code 1.17.1 | 3630 | Tuesday, October 10, 2017 | Approved |
Visual Studio Code 1.17.0 | 9776 | Thursday, October 5, 2017 | Approved |
Visual Studio Code 1.16.1 | 37260 | Friday, September 15, 2017 | Approved |
Visual Studio Code 1.16.0 | 19178 | Thursday, September 7, 2017 | Approved |
Visual Studio Code 1.15.1 | 53442 | Thursday, August 17, 2017 | Approved |
Visual Studio Code 1.15.0 | 16802 | Thursday, August 10, 2017 | Approved |
Visual Studio Code 1.14.2 | 9868 | Friday, July 21, 2017 | Approved |
Visual Studio Code 1.14.1 | 4482 | Friday, July 14, 2017 | Approved |
Visual Studio Code 1.14.0 | 2489 | Tuesday, July 11, 2017 | Approved |
Visual Studio Code 1.13.1 | 10029 | Thursday, June 15, 2017 | Approved |
Visual Studio Code 1.13.0 | 3978 | Friday, June 9, 2017 | Approved |
Visual Studio Code 1.12.2 | 8851 | Tuesday, May 16, 2017 | Approved |
Visual Studio Code 1.12.1 | 5878 | Friday, May 5, 2017 | Approved |
Visual Studio Code 1.11.2 | 7468 | Thursday, April 13, 2017 | Approved |
Visual Studio Code 1.11.1 | 4327 | Thursday, April 6, 2017 | Approved |
Visual Studio Code 1.11.0 | 1344 | Thursday, April 6, 2017 | Approved |
Visual Studio Code 1.10.2 | 15467 | Wednesday, March 8, 2017 | Approved |
Visual Studio Code 1.10.1 | 3815 | Thursday, March 2, 2017 | Approved |
Visual Studio Code 1.10.0 | 570 | Thursday, March 2, 2017 | Approved |
Visual Studio Code 1.9.1 | 6346 | Thursday, February 9, 2017 | Approved |
Visual Studio Code 1.9.0 | 3346 | Thursday, February 2, 2017 | Approved |
Visual Studio Code 1.8.1 | 8958 | Tuesday, December 20, 2016 | Approved |
Visual Studio Code 1.8.0 | 2176 | Thursday, December 15, 2016 | Approved |
Visual Studio Code 1.7.2 | 3802 | Friday, December 2, 2016 | Approved |
Visual Studio Code 1.7.1 | 5994 | Thursday, November 3, 2016 | Approved |
Visual Studio Code 1.6.1 | 4219 | Sunday, October 16, 2016 | Approved |
Visual Studio Code 1.6 | 1346 | Thursday, October 13, 2016 | Approved |
Visual Studio Code 1.5.3 | 3601 | Friday, September 23, 2016 | Approved |
Visual Studio Code 1.5.2 | 3106 | Tuesday, September 13, 2016 | Approved |
Visual Studio Code 1.5.1 | 1553 | Friday, September 9, 2016 | Approved |
Visual Studio Code 1.5 | 374 | Friday, September 9, 2016 | Approved |
Visual Studio Code 1.4 | 7550 | Friday, August 5, 2016 | Approved |
Visual Studio Code 1.3.1 | 2277 | Wednesday, July 13, 2016 | Approved |
Visual Studio Code 1.3.0 | 346 | Friday, July 8, 2016 | Approved |
Visual Studio Code 1.2.1 | 400 | Thursday, June 16, 2016 | Approved |
Visual Studio Code 1.2.0 | 389 | Tuesday, June 7, 2016 | Approved |
Visual Studio Code 1.1.1 | 383 | Monday, May 23, 2016 | Approved |
Visual Studio Code 1.1.0 | 389 | Tuesday, May 10, 2016 | Approved |
Visual Studio Code 1.0 | 2170 | Thursday, April 14, 2016 | Approved |
Visual Studio Code 0.10.11 | 2447 | Tuesday, March 15, 2016 | Approved |
Visual Studio Code 0.10.10 | 931 | Tuesday, March 8, 2016 | Approved |
Visual Studio Code 0.10.8 | 1631 | Thursday, February 18, 2016 | Approved |
Visual Studio Code 0.10.3 | 2946 | Sunday, December 6, 2015 | Approved |
Visual Studio Code 0.9.2 | 886 | Sunday, November 1, 2015 | Approved |
Visual Studio Code 0.9.1 | 369 | Saturday, October 24, 2015 | Approved |
Visual Studio Code 0.8.0.0 | 1391 | Monday, October 5, 2015 | Approved |
Visual Studio Code 0.5.0.0 | 453 | Tuesday, July 14, 2015 | Approved |
Visual Studio Code 0.3.0.0 | 2562 | Saturday, June 20, 2015 | Approved |
Visual Studio Code 0.1.0.20150524 | 408 | Sunday, May 24, 2015 | Approved |
Visual Studio Code 0.1.0.0 | 1843 | Wednesday, April 29, 2015 | Approved |
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.