Downloads:

11,930

Downloads of v 1.40.0:

473

Last Update:

11/8/2019

Package Maintainer(s):

Software Author(s):

  • Microsoft
  • Peter Squicciarini

Tags:

vscodium admin foss cross-platform microsoft visualstudiocode vscode development editor ide javascript typescript

VSCodium

1.40.0 | Updated: 11/8/2019

Downloads:

11,930

Downloads of v 1.40.0:

473

Maintainer(s):

Software Author(s):

  • Microsoft
  • Peter Squicciarini

VSCodium 1.40.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install VSCodium, run the following command from the command line or from PowerShell:

>

To upgrade VSCodium, run the following command from the command line or from PowerShell:

>

To uninstall VSCodium, 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

  • 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

3. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade vscodium -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 vscodium -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 vscodium installed
  win_chocolatey:
    name: vscodium
    state: present
    version: 1.40.0
    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 'vscodium' do
  action    :install
  version  '1.40.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: vscodium,
    Version: 1.40.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller vscodium
{
   Name     = 'vscodium'
   Ensure   = 'Present'
   Version  = '1.40.0'
   Source   = 'STEP 3 URL'
}

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


package { 'vscodium':
  provider => 'chocolatey',
  ensure   => '1.40.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install vscodium version="1.40.0" 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.

This package was approved as a trusted package on 11/8/2019.

Description

Free/Libre Open Source Software binaries of VSCode.

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 and other SCM providers has never been easier. Review diffs, stage files, and make commits right from the editor. Push and pull from any hosted SCM 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. Learn more about extensions.

Package parameters

  • /NoDesktopIcon - Don't add a desktop icon.
  • /NoQuicklaunchIcon - Don't add an icon to the QuickLaunch area.
  • /NoAddContextMenuFiles - Don't add an Open with VSCodium entry to the context menu for files.
  • /NoAddContextMenuFolders - Dont't add an Open with VSCodium entry to the context menu for folders.
  • /AssociateWithFiles - Register VSCodium as an editor for supported file types.
  • /NoAddToPath - Don't add VSCodium to the system PATH.

Example: choco install vscodium --params "/NoDesktopIcon /NoAddToPath"

Notes

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

screenshot


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

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

# *** Automatically filled ***
$softwareName = 'VSCodium'
$version      = '1.40.0'
# *** Automatically filled ***

if ($version -eq (Get-UninstallRegistryKey $softwareName).DisplayVersion) {
    Write-Host "Version $version is already installed."
    return
}
  
# *** Automatically filled ***
$packageArgs = @{
    packageName    = 'vscodium'
    softwareName   = $softwareName
    fileType       = 'exe'
    url            = 'https://github.com/VSCodium/vscodium/releases/download/1.40.0/VSCodiumSetup-ia32-1.40.0.exe'
    url64bit       = 'https://github.com/VSCodium/vscodium/releases/download/1.40.0/VSCodiumSetup-x64-1.40.0.exe'
    silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
    checksum       = '7a6fb0376c51dafe03e1a282a59491e50d6dc2e39346e367c77db69fc833f213'
    checksumType   = 'sha256'
    checksum64     = 'dcb524e4daa2b1d06c5f6b02fae7874e077e9e90992acab411e3f838b735e553'
    checksumType64 = 'sha256'
    validExitCodes = @(0, 3010, 1641)
}
# *** Automatically filled ***

$pp = Get-PackageParameters
$mergeTasks = Get-MergeTasks $pp
$logPath = Get-PackageCacheLocation
$logPath = Join-Path $logPath 'install.log'
$packageArgs.silentArgs += ' /MERGETASKS="{0}" /LOG="{1}"' -f $mergeTasks, $logPath

Close-VSCode

Install-ChocolateyPackage @packageArgs
tools\helpers.ps1
function Get-MergeTasks([hashtable] $pp) {
    $tasks = @()
    $tasks += '!'* $pp.NoDesktopIcon           + 'desktopicon'
    $tasks += '!'* $pp.NoQuicklaunchIcon       + 'quicklaunchicon'
    $tasks += '!'* $pp.NoAddContextMenuFiles   + 'addcontextmenufiles'
    $tasks += '!'* $pp.NoAddContextMenuFolders + 'addcontextmenufolders'
    $tasks += '!'*!$pp.AssociateWithFiles      + 'associatewithfiles'
    $tasks += '!'* $pp.NoAddToPath             + 'addtopath'
    $tasks += '!'                              + 'runCode'

    Write-Host "Merge Tasks: $tasks"
    return $tasks -join ','
}

function Close-VSCode {
    Get-Process vscodium -ea 0 | ForEach-Object { $_.CloseMainWindow() | Out-Null }
    Start-Sleep 1
    Get-Process vscodium -ea 0 | Stop-Process  #in case gracefull shutdown did not succeed, try hard kill
}

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
VSCodium 1.39.2 1089 Wednesday, October 16, 2019 Approved
VSCodium 1.39.1 408 Friday, October 11, 2019 Approved
VSCodium 1.39.0 148 Thursday, October 10, 2019 Approved
VSCodium 1.38.1 1140 Thursday, September 12, 2019 Approved
VSCodium 1.38.0 507 Thursday, September 5, 2019 Approved
VSCodium 1.37.1 843 Friday, August 16, 2019 Approved
VSCodium 1.37.0 407 Friday, August 9, 2019 Approved
VSCodium 1.36.1 1043 Wednesday, July 10, 2019 Approved
VSCodium 1.36.0 367 Thursday, July 4, 2019 Approved
Discussion for the VSCodium Package

Ground Rules:

  • This discussion is only about VSCodium and the VSCodium 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 VSCodium, 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