Visual Studio Code

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

  • 1
  • 2
  • 3

1.35.0 | Updated: 05 Jun 2019

Downloads:

4,228,267

Downloads of v 1.35.0:

16,553

Maintainer(s):

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Visual Studio Code 1.35.0

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

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

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://community.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

3. Copy Your Script

choco upgrade vscode -y --source="'INTERNAL REPO URL'" --version="'1.35.0'" [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 vscode -y --source="'INTERNAL REPO URL'" --version="'1.35.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install vscode
  win_chocolatey:
    name: vscode
    version: '1.35.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'vscode' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.35.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller vscode
{
    Name     = "vscode"
    Version  = "1.35.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vscode':
  ensure   => '1.35.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. 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 05 Jun 2019.

Description

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

Features

  • 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"

Notes

screenshot


tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$softwareName = 'Microsoft Visual Studio Code'
$version = '1.35.0'
if ($version -eq (Get-UninstallRegistryKey "$softwareName").DisplayVersion) {
  Write-Host "VS Code $version is already installed."
  return
}

$pp = Get-PackageParameters
Close-VSCode

$packageArgs = @{
  packageName    = 'vscode'
  fileType       = 'exe'
  url            = 'https://az764295.vo.msecnd.net/stable/553cfb2c2205db5f15f3ee8395bbd5cf066d357d/VSCodeSetup-ia32-1.35.0.exe'
  url64bit       = 'https://az764295.vo.msecnd.net/stable/553cfb2c2205db5f15f3ee8395bbd5cf066d357d/VSCodeSetup-x64-1.35.0.exe'

  softwareName   = "$softwareName"

  checksum       = '28e7995ee90845fcc1ba5c123fc6827062378c66cd4fe274b46c45ab93603c25'
  checksumType   = 'sha256'
  checksum64     = '47418a4d9d0921b5a392f205ebc1e367b6a73730ae0e35da4b50f96e17214da9'
  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
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"
    $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
}

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Visual Studio Code 1.73.0 39594 Wednesday, November 2, 2022 Approved
Visual Studio Code 1.72.2 63593 Thursday, October 13, 2022 Approved
Visual Studio Code 1.72.1 20022 Tuesday, October 11, 2022 Approved
Visual Studio Code 1.72.0 33706 Thursday, October 6, 2022 Approved
Visual Studio Code 1.71.2 68757 Thursday, September 15, 2022 Approved
Visual Studio Code 1.71.1 20160 Tuesday, September 13, 2022 Approved
Visual Studio Code 1.71.0 44010 Thursday, September 1, 2022 Approved
Visual Studio Code 1.70.2 59985 Wednesday, August 17, 2022 Approved
Visual Studio Code 1.70.1 35704 Wednesday, August 10, 2022 Approved
Visual Studio Code 1.70.0 31002 Thursday, August 4, 2022 Approved
Visual Studio Code 1.69.2 49997 Tuesday, July 19, 2022 Approved
Visual Studio Code 1.69.1 41508 Tuesday, July 12, 2022 Approved
Visual Studio Code 1.69.0 28622 Thursday, July 7, 2022 Approved
Visual Studio Code 1.68.1 65906 Wednesday, June 15, 2022 Approved
Visual Studio Code 1.68.0 32734 Thursday, June 9, 2022 Approved
Visual Studio Code 1.67.2 55972 Wednesday, May 18, 2022 Approved
Visual Studio Code 1.67.1 54488 Tuesday, May 10, 2022 Approved
Visual Studio Code 1.67.0 28056 Thursday, May 5, 2022 Approved
Visual Studio Code 1.66.2 70348 Tuesday, April 12, 2022 Approved
Visual Studio Code 1.66.1 28518 Thursday, April 7, 2022 Approved
Visual Studio Code 1.66.0 38926 Wednesday, March 30, 2022 Approved
Visual Studio Code 1.65.2 64715 Friday, March 11, 2022 Approved
Visual Studio Code 1.65.1 21497 Tuesday, March 8, 2022 Approved
Visual Studio Code 1.65.0 29239 Friday, March 4, 2022 Approved
Visual Studio Code 1.64.2 63818 Thursday, February 10, 2022 Approved
Visual Studio Code 1.64.1 20544 Wednesday, February 9, 2022 Approved
Visual Studio Code 1.64.0 29370 Friday, February 4, 2022 Approved
Visual Studio Code 1.63.2 102782 Thursday, December 16, 2021 Approved
Visual Studio Code 1.63.1 21206 Tuesday, December 14, 2021 Approved
Visual Studio Code 1.63.0 32839 Thursday, December 9, 2021 Approved
Visual Studio Code 1.62.3 59740 Thursday, November 18, 2021 Approved
Visual Studio Code 1.62.2 31322 Friday, November 12, 2021 Approved
Visual Studio Code 1.62.1 28064 Tuesday, November 9, 2021 Approved
Visual Studio Code 1.62.0 27863 Thursday, November 4, 2021 Approved
Visual Studio Code 1.61.2 56462 Wednesday, October 20, 2021 Approved
Visual Studio Code 1.61.1 28356 Friday, October 15, 2021 Approved
Visual Studio Code 1.61.0 32456 Friday, October 8, 2021 Approved
Visual Studio Code 1.60.2 54735 Thursday, September 23, 2021 Approved
Visual Studio Code 1.60.1 36327 Tuesday, September 14, 2021 Approved
Visual Studio Code 1.60.0 40940 Thursday, September 2, 2021 Approved
Visual Studio Code 1.59.1 46168 Friday, August 20, 2021 Approved
Visual Studio Code 1.59.0 45423 Thursday, August 5, 2021 Approved
Visual Studio Code 1.58.2 57668 Thursday, July 15, 2021 Approved
Visual Studio Code 1.58.1 16579 Tuesday, July 13, 2021 Approved
Visual Studio Code 1.58.0 25562 Thursday, July 8, 2021 Approved
Visual Studio Code 1.57.1 57262 Friday, June 18, 2021 Approved
Visual Studio Code 1.57.0 36050 Thursday, June 10, 2021 Approved
Visual Studio Code 1.56.2 71466 Thursday, May 13, 2021 Approved
Visual Studio Code 1.56.1 20907 Tuesday, May 11, 2021 Approved
Visual Studio Code 1.56.0 26591 Thursday, May 6, 2021 Approved
Visual Studio Code 1.55.2 58317 Tuesday, April 13, 2021 Approved
Visual Studio Code 1.55.1 22277 Friday, April 9, 2021 Approved
Visual Studio Code 1.55.0 27756 Wednesday, March 31, 2021 Approved
Visual Studio Code 1.54.3 50995 Tuesday, March 16, 2021 Approved
Visual Studio Code 1.54.2 21352 Friday, March 12, 2021 Approved
Visual Studio Code 1.54.1 28936 Friday, March 5, 2021 Approved
Visual Studio Code 1.54.0 5761 Thursday, March 4, 2021 Approved
Visual Studio Code 1.53.2 53985 Friday, February 12, 2021 Approved
Visual Studio Code 1.53.1 15305 Tuesday, February 9, 2021 Approved
Visual Studio Code 1.53.0 23251 Thursday, February 4, 2021 Approved
Visual Studio Code 1.52.1 94021 Thursday, December 17, 2020 Approved
Visual Studio Code 1.52.0 20839 Friday, December 11, 2020 Approved
Visual Studio Code 1.51.1 60721 Thursday, November 12, 2020 Approved
Visual Studio Code 1.51.0 24749 Friday, November 6, 2020 Approved
Visual Studio Code 1.50.1 48882 Thursday, October 15, 2020 Approved
Visual Studio Code 1.50.0 26003 Thursday, October 8, 2020 Approved
Visual Studio Code 1.49.3 21390 Saturday, October 3, 2020 Approved
Visual Studio Code 1.49.2 25413 Friday, September 25, 2020 Approved
Visual Studio Code 1.49.1 25374 Friday, September 18, 2020 Approved
Visual Studio Code 1.49.0 24594 Friday, September 11, 2020 Approved
Visual Studio Code 1.48.2 41345 Tuesday, August 25, 2020 Approved
Visual Studio Code 1.48.1 19684 Thursday, August 20, 2020 Approved
Visual Studio Code 1.48.0 21347 Thursday, August 13, 2020 Approved
Visual Studio Code 1.47.3 38126 Tuesday, July 28, 2020 Approved
Visual Studio Code 1.47.2 27609 Friday, July 17, 2020 Approved
Visual Studio Code 1.47.1 10410 Tuesday, July 14, 2020 Approved
Visual Studio Code 1.47.0 15825 Friday, July 10, 2020 Approved
Visual Studio Code 1.46.1 43593 Thursday, June 18, 2020 Approved
Visual Studio Code 1.46.0 26111 Thursday, June 11, 2020 Approved
Visual Studio Code 1.45.1 55064 Friday, May 15, 2020 Approved
Visual Studio Code 1.45.0 20832 Friday, May 8, 2020 Approved
Visual Studio Code 1.44.2 40538 Friday, April 17, 2020 Approved
Visual Studio Code 1.44.1 9667 Tuesday, April 14, 2020 Approved
Visual Studio Code 1.44.0 19554 Thursday, April 9, 2020 Approved
Visual Studio Code 1.43.2 31656 Wednesday, March 25, 2020 Approved
Visual Studio Code 1.43.1 21430 Thursday, March 19, 2020 Approved
Visual Studio Code 1.43.0 27781 Tuesday, March 10, 2020 Approved
Visual Studio Code 1.42.1 51557 Friday, February 14, 2020 Approved
Visual Studio Code 1.42.0 21751 Friday, February 7, 2020 Approved
Visual Studio Code 1.41.1 65861 Friday, December 20, 2019 Approved
Visual Studio Code 1.41.0 16480 Friday, December 13, 2019 Approved
Visual Studio Code 1.40.2 28229 Tuesday, November 26, 2019 Approved
Visual Studio Code 1.40.1 23767 Thursday, November 14, 2019 Approved
Visual Studio Code 1.40.0 15098 Friday, November 8, 2019 Approved
Visual Studio Code 1.39.2 37450 Wednesday, October 16, 2019 Approved
Visual Studio Code 1.39.1 13534 Friday, October 11, 2019 Approved
Visual Studio Code 1.39.0 4640 Thursday, October 10, 2019 Approved
Visual Studio Code 1.38.1 40883 Thursday, September 12, 2019 Approved
Visual Studio Code 1.38.0 16492 Wednesday, September 4, 2019 Approved
Visual Studio Code 1.37.1 33137 Thursday, August 15, 2019 Approved
Visual Studio Code 1.37.0 15388 Thursday, August 8, 2019 Approved
Visual Studio Code 1.36.1 40175 Tuesday, July 9, 2019 Approved
Visual Studio Code 1.36.0 13245 Wednesday, July 3, 2019 Approved
Visual Studio Code 1.35.1 30127 Thursday, June 13, 2019 Approved
Visual Studio Code 1.35.0 16553 Wednesday, June 5, 2019 Approved
Visual Studio Code 1.34.0 27472 Saturday, May 18, 2019 Approved
Visual Studio Code 1.33.1 43084 Thursday, April 11, 2019 Approved
Visual Studio Code 1.33.0 15167 Friday, April 5, 2019 Approved
Visual Studio Code 1.32.3 29108 Friday, March 15, 2019 Approved
Visual Studio Code 1.32.2 3893 Thursday, March 14, 2019 Approved
Visual Studio Code 1.32.1 10617 Friday, March 8, 2019 Approved
Visual Studio Code 1.31.1 26050 Wednesday, February 13, 2019 Approved
Visual Studio Code 1.31.0 10607 Thursday, February 7, 2019 Approved
Visual Studio Code 1.30.2 30490 Tuesday, January 8, 2019 Approved
Visual Studio Code 1.30.1 18255 Wednesday, December 19, 2018 Approved
Visual Studio Code 1.30.0 9018 Thursday, December 13, 2018 Approved
Visual Studio Code 1.29.1 24408 Friday, November 16, 2018 Approved
Visual Studio Code 1.29.0 6466 Tuesday, November 13, 2018 Approved
Visual Studio Code 1.28.2 23444 Thursday, October 18, 2018 Approved
Visual Studio Code 1.28.1 8103 Friday, October 12, 2018 Approved
Visual Studio Code 1.28.0 5961 Monday, October 8, 2018 Approved
Visual Studio Code 1.27.2 28352 Thursday, September 13, 2018 Approved
Visual Studio Code 1.27.1 9706 Thursday, September 6, 2018 Approved
Visual Studio Code 1.27.0 2115 Thursday, September 6, 2018 Approved
Visual Studio Code 1.26.1 20340 Friday, August 17, 2018 Approved
Visual Studio Code 1.26.0 6101 Tuesday, August 14, 2018 Approved
Visual Studio Code 1.25.1 28115 Thursday, July 12, 2018 Approved
Visual Studio Code 1.25.0 8488 Thursday, July 5, 2018 Approved
Visual Studio Code 1.24.1 16472 Thursday, June 14, 2018 Approved
Visual Studio Code 1.24.0 7582 Wednesday, June 6, 2018 Approved
Visual Studio Code 1.23.1.20180513 16315 Sunday, May 13, 2018 Approved

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