Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Visual Studio Code (Portable)

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

  • 1
  • 2
  • 3

1.10.1 | Updated: 03 Mar 2017

Downloads:

47,723

Downloads of v 1.10.1:

528

Maintainer(s):

Software Author(s):

  • Microsoft

Visual Studio Code (Portable) 1.10.1

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

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft. The inclusion of Microsoft trademark(s), if any, upon this webpage is solely to identify Microsoft goods or services and not for commercial purposes.

  • 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 (Portable), run the following command from the command line or from PowerShell:

>

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

>

To uninstall Visual Studio Code (Portable), 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.portable -y --source="'INTERNAL REPO URL'" --version="'1.10.1'" [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.portable -y --source="'INTERNAL REPO URL'" --version="'1.10.1'" 
$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.portable
  win_chocolatey:
    name: vscode.portable
    version: '1.10.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'vscode.portable' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.10.1'
end

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


cChocoPackageInstaller vscode.portable
{
    Name     = "vscode.portable"
    Version  = "1.10.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'vscode.portable':
  ensure   => '1.10.1',
  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.

NOTE

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

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved by moderator wget on 05 Mar 2017.

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.

Notes

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


tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName  = 'vscode.portable'
$url          = 'https://az764295.vo.msecnd.net/stable/653f8733dd5a5c43d66d7168b4701f94d72b62e5/VSCode-win32-1.10.1.zip'
$toolsPath     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$checksum     = '54a8a6a1108c1f01b4f186bb981df609295d75cc2d8759088b77546f99842d36'
$checksumType = 'sha256'

$toolsPath    = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
    packageName    = $packageName
    url            = $url
    checksum       = $checksum
    checksumType   = $checksumType
    unzipLocation  = $toolsPath
}

Install-ChocolateyZipPackage @packageArgs

$files = Get-ChildItem "$toolsPath" -Include *.exe -Exclude "Code.exe" -Recurse
foreach ($file in $files) {
	New-Item "$file.ignore" -Type file -Force | Out-Null
}
update.ps1
Import-Module au

function global:au_SearchReplace {
	@{
		'tools\chocolateyInstall.ps1' = @{
			"(^[$]url\s*=\s*)('.*')"          = "`$1'$($Latest.URL32)'"
			"(^[$]checksum\s*=\s*)('.*')"     = "`$1'$($Latest.Checksum32)'"
			"(^[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
		}
	}
}

function global:au_GetLatest {
	$url = "https://vscode-update.azurewebsites.net/latest/win32-archive/stable"
	$request = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction Ignore
	$url = $request.Headers.Location
	$version = $url.Substring($url.LastIndexOf("-") + 1, $url.LastIndexOf(".zip") - $url.LastIndexOf("-") - 1)
	$Latest = @{
		Version = $version;
		URL32 = $url;
	}
	return $Latest
}

Update-Package -NoCheckUrl 

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 (Portable) 1.74.2 514 Wednesday, December 21, 2022 Approved
Visual Studio Code (Portable) 1.74.1 180 Thursday, December 15, 2022 Approved
Visual Studio Code (Portable) 1.74.0 207 Thursday, December 8, 2022 Approved
Visual Studio Code (Portable) 1.73.1 494 Thursday, November 10, 2022 Approved
Visual Studio Code (Portable) 1.73.0 200 Thursday, November 3, 2022 Approved
Visual Studio Code (Portable) 1.72.2 367 Friday, October 14, 2022 Approved
Visual Studio Code (Portable) 1.72.1 104 Wednesday, October 12, 2022 Approved
Visual Studio Code (Portable) 1.72.0 208 Friday, October 7, 2022 Approved
Visual Studio Code (Portable) 1.71.2 389 Saturday, September 17, 2022 Approved
Visual Studio Code (Portable) 1.71.1 103 Thursday, September 15, 2022 Approved
Visual Studio Code (Portable) 1.71.0 257 Friday, September 2, 2022 Approved
Visual Studio Code (Portable) 1.70.2 924 Thursday, August 18, 2022 Approved
Visual Studio Code (Portable) 1.70.1 573 Thursday, August 11, 2022 Approved
Visual Studio Code (Portable) 1.70.0 558 Friday, August 5, 2022 Approved
Visual Studio Code (Portable) 1.69.2 1498 Tuesday, July 19, 2022 Approved
Visual Studio Code (Portable) 1.69.1 570 Wednesday, July 13, 2022 Approved
Visual Studio Code (Portable) 1.69.0 311 Friday, July 8, 2022 Approved
Visual Studio Code (Portable) 1.68.1 1154 Thursday, June 16, 2022 Approved
Visual Studio Code (Portable) 1.68.0 366 Saturday, June 11, 2022 Approved
Visual Studio Code (Portable) 1.67.2 1078 Thursday, May 19, 2022 Approved
Visual Studio Code (Portable) 1.67.1 451 Wednesday, May 11, 2022 Approved
Visual Studio Code (Portable) 1.67.0 344 Friday, May 6, 2022 Approved
Visual Studio Code (Portable) 1.66.2 1202 Thursday, April 14, 2022 Approved
Visual Studio Code (Portable) 1.66.1 197 Friday, April 8, 2022 Approved
Visual Studio Code (Portable) 1.66.0 242 Thursday, March 31, 2022 Approved
Visual Studio Code (Portable) 1.65.2 349 Friday, March 11, 2022 Approved
Visual Studio Code (Portable) 1.65.1 118 Wednesday, March 9, 2022 Approved
Visual Studio Code (Portable) 1.65.0 163 Friday, March 4, 2022 Approved
Visual Studio Code (Portable) 1.64.2 317 Friday, February 11, 2022 Approved
Visual Studio Code (Portable) 1.64.1 140 Wednesday, February 9, 2022 Approved
Visual Studio Code (Portable) 1.64.0 182 Friday, February 4, 2022 Approved
Visual Studio Code (Portable) 1.63.2 606 Saturday, December 18, 2021 Approved
Visual Studio Code (Portable) 1.63.1 146 Wednesday, December 15, 2021 Approved
Visual Studio Code (Portable) 1.63.0 175 Thursday, December 9, 2021 Approved
Visual Studio Code (Portable) 1.62.3 280 Friday, November 19, 2021 Approved
Visual Studio Code (Portable) 1.62.2 156 Friday, November 12, 2021 Approved
Visual Studio Code (Portable) 1.62.1 126 Wednesday, November 10, 2021 Approved
Visual Studio Code (Portable) 1.62.0 168 Friday, November 5, 2021 Approved
Visual Studio Code (Portable) 1.61.2 276 Wednesday, October 20, 2021 Approved
Visual Studio Code (Portable) 1.61.1 171 Friday, October 15, 2021 Approved
Visual Studio Code (Portable) 1.61.0 171 Friday, October 8, 2021 Approved
Visual Studio Code (Portable) 1.60.2 385 Thursday, September 23, 2021 Approved
Visual Studio Code (Portable) 1.60.1 194 Thursday, September 16, 2021 Approved
Visual Studio Code (Portable) 1.60.0 307 Saturday, September 4, 2021 Approved
Visual Studio Code (Portable) 1.59.1 275 Friday, August 20, 2021 Approved
Visual Studio Code (Portable) 1.59.0 199 Friday, August 6, 2021 Approved
Visual Studio Code (Portable) 1.58.2 255 Friday, July 16, 2021 Approved
Visual Studio Code (Portable) 1.58.1 151 Wednesday, July 14, 2021 Approved
Visual Studio Code (Portable) 1.58.0 162 Friday, July 9, 2021 Approved
Visual Studio Code (Portable) 1.57.1 274 Friday, June 18, 2021 Approved
Visual Studio Code (Portable) 1.57.0 229 Friday, June 11, 2021 Approved
Visual Studio Code (Portable) 1.56.2 255 Friday, May 14, 2021 Approved
Visual Studio Code (Portable) 1.56.1 150 Wednesday, May 12, 2021 Approved
Visual Studio Code (Portable) 1.56.0 166 Thursday, May 6, 2021 Approved
Visual Studio Code (Portable) 1.55.2 203 Wednesday, April 14, 2021 Approved
Visual Studio Code (Portable) 1.55.1 136 Friday, April 9, 2021 Approved
Visual Studio Code (Portable) 1.55.0 172 Thursday, April 1, 2021 Approved
Visual Studio Code (Portable) 1.54.3 270 Tuesday, March 16, 2021 Approved
Visual Studio Code (Portable) 1.53.2 287 Friday, February 12, 2021 Approved
Visual Studio Code (Portable) 1.53.1 142 Wednesday, February 10, 2021 Approved
Visual Studio Code (Portable) 1.53.0 145 Friday, February 5, 2021 Approved
Visual Studio Code (Portable) 1.52.1 402 Thursday, December 17, 2020 Approved
Visual Studio Code (Portable) 1.52.0 174 Friday, December 11, 2020 Approved
Visual Studio Code (Portable) 1.51.1 306 Thursday, November 12, 2020 Approved
Visual Studio Code (Portable) 1.51.0 231 Friday, November 6, 2020 Approved
Visual Studio Code (Portable) 1.50.1 307 Thursday, October 15, 2020 Approved
Visual Studio Code (Portable) 1.50.0 226 Friday, October 9, 2020 Approved
Visual Studio Code (Portable) 1.49.3 203 Saturday, October 3, 2020 Approved
Visual Studio Code (Portable) 1.49.2 190 Friday, September 25, 2020 Approved
Visual Studio Code (Portable) 1.49.1 200 Friday, September 18, 2020 Approved
Visual Studio Code (Portable) 1.49.0 199 Friday, September 11, 2020 Approved
Visual Studio Code (Portable) 1.48.2 231 Wednesday, August 26, 2020 Approved
Visual Studio Code (Portable) 1.48.1 181 Friday, August 21, 2020 Approved
Visual Studio Code (Portable) 1.48.0 206 Saturday, August 15, 2020 Approved
Visual Studio Code (Portable) 1.47.3 249 Tuesday, July 28, 2020 Approved
Visual Studio Code (Portable) 1.47.2 223 Friday, July 17, 2020 Approved
Visual Studio Code (Portable) 1.47.1 165 Wednesday, July 15, 2020 Approved
Visual Studio Code (Portable) 1.47.0 186 Friday, July 10, 2020 Approved
Visual Studio Code (Portable) 1.46.1 283 Friday, June 19, 2020 Approved
Visual Studio Code (Portable) 1.46.0 196 Thursday, June 11, 2020 Approved
Visual Studio Code (Portable) 1.45.1 361 Friday, May 15, 2020 Approved
Visual Studio Code (Portable) 1.45.0 211 Friday, May 8, 2020 Approved
Visual Studio Code (Portable) 1.44.2 305 Friday, April 17, 2020 Approved
Visual Studio Code (Portable) 1.44.1 176 Wednesday, April 15, 2020 Approved
Visual Studio Code (Portable) 1.44.0 208 Thursday, April 9, 2020 Approved
Visual Studio Code (Portable) 1.43.2 228 Thursday, March 26, 2020 Approved
Visual Studio Code (Portable) 1.43.1 201 Thursday, March 19, 2020 Approved
Visual Studio Code (Portable) 1.43.0 222 Tuesday, March 10, 2020 Approved
Visual Studio Code (Portable) 1.41.1 512 Friday, December 20, 2019 Approved
Visual Studio Code (Portable) 1.41.0 208 Friday, December 13, 2019 Approved
Visual Studio Code (Portable) 1.40.2 225 Tuesday, November 26, 2019 Approved
Visual Studio Code (Portable) 1.40.1 239 Thursday, November 14, 2019 Approved
Visual Studio Code (Portable) 1.40.0 192 Friday, November 8, 2019 Approved
Visual Studio Code (Portable) 1.39.2 267 Wednesday, October 16, 2019 Approved
Visual Studio Code (Portable) 1.39.1 180 Friday, October 11, 2019 Approved
Visual Studio Code (Portable) 1.39.0 186 Thursday, October 10, 2019 Approved
Visual Studio Code (Portable) 1.38.1 318 Thursday, September 12, 2019 Approved
Visual Studio Code (Portable) 1.38.0 255 Thursday, September 5, 2019 Approved
Visual Studio Code (Portable) 1.37.1 251 Saturday, August 17, 2019 Approved
Visual Studio Code (Portable) 1.37.0 208 Friday, August 9, 2019 Approved
Visual Studio Code (Portable) 1.36.1 295 Wednesday, July 10, 2019 Approved
Visual Studio Code (Portable) 1.36.0 227 Thursday, July 4, 2019 Approved
Visual Studio Code (Portable) 1.35.1 281 Thursday, June 13, 2019 Approved
Visual Studio Code (Portable) 1.35.0 212 Wednesday, June 5, 2019 Approved
Visual Studio Code (Portable) 1.34.0 298 Friday, May 17, 2019 Approved
Visual Studio Code (Portable) 1.33.1 311 Friday, April 12, 2019 Approved
Visual Studio Code (Portable) 1.33.0 297 Friday, April 5, 2019 Approved
Visual Studio Code (Portable) 1.32.3 310 Saturday, March 16, 2019 Approved
Visual Studio Code (Portable) 1.32.2 219 Thursday, March 14, 2019 Approved
Visual Studio Code (Portable) 1.32.1 252 Friday, March 8, 2019 Approved
Visual Studio Code (Portable) 1.31.1 311 Wednesday, February 13, 2019 Approved
Visual Studio Code (Portable) 1.31.0 263 Thursday, February 7, 2019 Approved
Visual Studio Code (Portable) 1.30.2 312 Wednesday, January 9, 2019 Approved
Visual Studio Code (Portable) 1.30.1 284 Wednesday, December 19, 2018 Approved
Visual Studio Code (Portable) 1.29.1 294 Saturday, November 17, 2018 Approved
Visual Studio Code (Portable) 1.29.0 263 Tuesday, November 13, 2018 Approved
Visual Studio Code (Portable) 1.28.2 274 Thursday, October 18, 2018 Approved
Visual Studio Code (Portable) 1.28.1 281 Friday, October 12, 2018 Approved
Visual Studio Code (Portable) 1.28.0 263 Monday, October 8, 2018 Approved
Visual Studio Code (Portable) 1.27.2 274 Friday, September 14, 2018 Approved
Visual Studio Code (Portable) 1.27.1 242 Friday, September 7, 2018 Approved
Visual Studio Code (Portable) 1.26.1 312 Saturday, August 18, 2018 Approved
Visual Studio Code (Portable) 1.26.0 294 Tuesday, August 14, 2018 Approved
Visual Studio Code (Portable) 1.25.1 328 Friday, July 13, 2018 Approved
Visual Studio Code (Portable) 1.25.0 313 Thursday, July 5, 2018 Approved
Visual Studio Code (Portable) 1.24.1 324 Thursday, June 14, 2018 Approved
Visual Studio Code (Portable) 1.24.0 337 Thursday, June 7, 2018 Approved
Visual Studio Code (Portable) 1.23.1 388 Saturday, May 12, 2018 Approved
Visual Studio Code (Portable) 1.23.0 348 Friday, May 4, 2018 Approved
Visual Studio Code (Portable) 1.22.2 325 Friday, April 13, 2018 Approved
Visual Studio Code (Portable) 1.22.1 326 Saturday, April 7, 2018 Approved
Visual Studio Code (Portable) 1.21.1 392 Thursday, March 15, 2018 Approved
Visual Studio Code (Portable) 1.21.0 333 Thursday, March 8, 2018 Approved
Visual Studio Code (Portable) 1.20.1 383 Thursday, February 22, 2018 Approved
Visual Studio Code (Portable) 1.19.3 315 Thursday, February 22, 2018 Approved
Visual Studio Code (Portable) 1.14.2 738 Sunday, July 23, 2017 Approved
Visual Studio Code (Portable) 1.14.0 380 Sunday, July 16, 2017 Approved
Visual Studio Code (Portable) 1.10.1 528 Friday, March 3, 2017 Approved

This package has no dependencies.

Discussion for the Visual Studio Code (Portable) Package

Ground Rules:

  • This discussion is only about Visual Studio Code (Portable) and the Visual Studio Code (Portable) 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 (Portable), 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