Install-VSCode

1.4

This script can be used to easily install Visual Studio Code and the
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!
This script can be used to easily install Visual Studio Code and the
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/develop/scripts/Install-VSCode.ps1

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Install-VSCode -RequiredVersion 1.4

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Microsoft Corporation

Package Details

Author(s)

  • Microsoft

Tags

install vscode installer

Functions

Test-IsOsArchX64 Get-AvailablePackageManager Get-CodePlatformInformation Save-WithBitsTransfer Install-VSCodeFromTar

Dependencies

This script has no dependencies.

Release Notes

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
& support for installation of VSCode Insiders Edition.
--
Initial release.

FileList

Version History

Version Downloads Last updated
1.4.3 6,590 6/29/2022
1.4.2 14,929 6/17/2021
1.4.1 1,797 4/27/2021
1.4 (current version) 7,448 9/24/2019
1.3 1,353 3/29/2019
1.2 3,948 3/26/2018
1.0 3,167 5/7/2017
Show more