Install-VSCode
1.4.2
PowerShell extension on your machine. You may also specify additional
extensions to be installed using the -AdditionalExtensions parameter.
The -LaunchWhenDone parameter will cause VS Code to be launched as
soon as installation has completed.
Please contribute improvements to this script on GitHub!
PowerShell extension on your machine. You may also specify additional
extensions to be installed using the -AdditionalExtensions parameter.
The -LaunchWhenDone parameter will cause VS Code to be launched as
soon as installation has completed.
Please contribute improvements to this script on GitHub!
https://github.com/PowerShell/vscode-powershell/blob/master/scripts/Install-VSCode.ps1
Installation Options
Owners
Copyright
(c) Microsoft Corporation
Package Details
Author(s)
- Microsoft
Tags
Functions
Test-IsOsArchX64 Get-AvailablePackageManager Get-CodePlatformInformation Save-WithBitsTransfer Install-VSCodeFromTar
Dependencies
This script has no dependencies.
Release Notes
02/06/2021 - Fix an architecture check issue with non-English localizations.
--
01/04/2021 - Fix host for downloading VSCode.
--
07/10/2019 - Fix a version check when installing user-builds with Windows Powershell greater than 5.
--
30/08/2019 - Added functionality to install the "User Install" variant of Stable Edition.
--
07/11/2018 - Added support for PowerShell Core and macOS/Linux platforms.
--
15/08/2018 - Added functionality to install the new "User Install" variant of Insiders Edition.
--
21/03/2018 - Added functionality to install the VSCode context menus.
Also, VSCode is now always added to the search path.
--
20/03/2018 - Fix OS detection to prevent error
--
28/12/2017 - Added functionality to support 64-bit versions of VSCode
and support for installation of VSCode Insiders Edition.
--
Initial release.
FileList
- Install-VSCode.nuspec
- Install-VSCode.ps1