site/search/search_index.json

{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"VSCodeMarketplace A PowerShell module that wraps the Visual Studio Code Marketplace public Gallery API, letting you search, download, install, and uninstall VS Code extensions entirely from the command line. Features Search the Marketplace by keyword or exact extension ID Download extensions as .vsix files for offline or air-gapped use Install extensions directly via the code CLI Uninstall extensions by ID using the code CLI Full pipeline support \u2014 find, save, and install in a single one-liner Requirements PowerShell 5.1 or PowerShell 7+ The code CLI must be on your PATH (required for Install-VSCodeExtension and Uninstall-VSCodeExtension ) Quick Start # Import the module Import-Module VSCodeMarketplace # Search for an extension Find-VSCodeExtension -Query \"git\" # Find and install in one pipeline Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" | Install-VSCodeExtension # Download for offline use Find-VSCodeExtension -ExtensionId \"ms-python.python\" | Save-VSCodeExtension -Destination C:\\vsix # Uninstall an extension Uninstall-VSCodeExtension -Extension \"eamodio.gitlens\" Available Commands Command Description Find-VSCodeExtension Search the VS Code Marketplace Install-VSCodeExtension Install extensions via the code CLI Save-VSCodeExtension Download extensions as VSIX files Uninstall-VSCodeExtension Uninstall extensions via the code CLI","title":"Home"},{"location":"#vscodemarketplace","text":"A PowerShell module that wraps the Visual Studio Code Marketplace public Gallery API, letting you search, download, install, and uninstall VS Code extensions entirely from the command line.","title":"VSCodeMarketplace"},{"location":"#features","text":"Search the Marketplace by keyword or exact extension ID Download extensions as .vsix files for offline or air-gapped use Install extensions directly via the code CLI Uninstall extensions by ID using the code CLI Full pipeline support \u2014 find, save, and install in a single one-liner","title":"Features"},{"location":"#requirements","text":"PowerShell 5.1 or PowerShell 7+ The code CLI must be on your PATH (required for Install-VSCodeExtension and Uninstall-VSCodeExtension )","title":"Requirements"},{"location":"#quick-start","text":"# Import the module Import-Module VSCodeMarketplace # Search for an extension Find-VSCodeExtension -Query \"git\" # Find and install in one pipeline Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" | Install-VSCodeExtension # Download for offline use Find-VSCodeExtension -ExtensionId \"ms-python.python\" | Save-VSCodeExtension -Destination C:\\vsix # Uninstall an extension Uninstall-VSCodeExtension -Extension \"eamodio.gitlens\"","title":"Quick Start"},{"location":"#available-commands","text":"Command Description Find-VSCodeExtension Search the VS Code Marketplace Install-VSCodeExtension Install extensions via the code CLI Save-VSCodeExtension Download extensions as VSIX files Uninstall-VSCodeExtension Uninstall extensions via the code CLI","title":"Available Commands"},{"location":"VSCodeMarketplace/","text":"VSCodeMarketPlace Module Description A wrapper for the VSCode marketplace that allows searching, saving, installing, and uninstalling VSCode extensions. Module Version: 1.0.0 Author: Stephen Valdinger Module GUID: 46decfeb-9e8d-4771-9ce0-18a9d5fd02d6 Commands Find-VSCodeExtension Searches the Visual Studio Code Marketplace via the public Gallery API. Supports fuzzy keyword search and exact lookup by extension ID. Install-VSCodeExtension Installs a VS Code extension using the Code CLI. Accepts pipeline input from Find-VSCodeExtension , a direct VSIX URL, or a local .vsix file. Save-VSCodeExtension Downloads one or more VS Code extensions as .vsix files. Useful for offline or air-gapped environments. Uninstall-VSCodeExtension Uninstalls a VS Code extension by its publisher.name ID using the Code CLI.","title":"VSCodeMarketPlace Module"},{"location":"VSCodeMarketplace/#vscodemarketplace-module","text":"","title":"VSCodeMarketPlace Module"},{"location":"VSCodeMarketplace/#description","text":"A wrapper for the VSCode marketplace that allows searching, saving, installing, and uninstalling VSCode extensions. Module Version: 1.0.0 Author: Stephen Valdinger Module GUID: 46decfeb-9e8d-4771-9ce0-18a9d5fd02d6","title":"Description"},{"location":"VSCodeMarketplace/#commands","text":"","title":"Commands"},{"location":"VSCodeMarketplace/#find-vscodeextension","text":"Searches the Visual Studio Code Marketplace via the public Gallery API. Supports fuzzy keyword search and exact lookup by extension ID.","title":"Find-VSCodeExtension"},{"location":"VSCodeMarketplace/#install-vscodeextension","text":"Installs a VS Code extension using the Code CLI. Accepts pipeline input from Find-VSCodeExtension , a direct VSIX URL, or a local .vsix file.","title":"Install-VSCodeExtension"},{"location":"VSCodeMarketplace/#save-vscodeextension","text":"Downloads one or more VS Code extensions as .vsix files. Useful for offline or air-gapped environments.","title":"Save-VSCodeExtension"},{"location":"VSCodeMarketplace/#uninstall-vscodeextension","text":"Uninstalls a VS Code extension by its publisher.name ID using the Code CLI.","title":"Uninstall-VSCodeExtension"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/","text":"Find-VSCodeExtension SYNOPSIS Searches the Visual Studio Code Marketplace via the public Gallery API. SYNTAX fuzzy (Default) Find-VSCodeExtension [-Query] <string> [-PageSize <int>] [-SortBy <string>] [<CommonParameters>] exact Find-VSCodeExtension -ExtensionId <string> [-Version <string>] [-PageSize <int>] [-SortBy <string>] [<CommonParameters>] ALIASES This cmdlet has the following aliases, None DESCRIPTION Queries the VS Code Marketplace extension gallery and returns matching extensions with key metadata such as publisher, name, version, download count, and VSIX download URL. Supports two modes of operation: Fuzzy mode (-Query): performs a text search across the marketplace, returning up to -PageSize results ranked by the chosen sort order. Exact mode (-ExtensionId): performs a precise lookup by qualified extension name (publisher.extensionname), returning only that extension. Optionally, -Version can be used to resolve a specific version; if the requested version is not found, the latest version is returned with a warning. EXAMPLES EXAMPLE 1 Find-VSCodeExtension -Query \"git\" Text search returning the top 10 most relevant git-related extensions. EXAMPLE 2 Find-VSCodeExtension -Query \"python\" -PageSize 20 -SortBy Downloads Returns the top 20 Python extensions sorted by download count. EXAMPLE 3 Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" Exact lookup for GitLens, returning the latest published version. EXAMPLE 4 Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" -Version \"16.3.0\" Exact lookup for a specific version of GitLens. EXAMPLE 5 Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" | Save-VSCodeExtension -Destination C:\\vsix Downloads the latest GitLens VSIX to C:\\vsix. PARAMETERS -ExtensionId The qualified extension name in publisher.extensionname format (e.g. 'eamodio.gitlens'). Performs an exact lookup. Cannot be combined with -Query. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: exact Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -PageSize Number of results to return in fuzzy mode. Defaults to 10, max 100. Has no effect in exact mode since only one extension is returned. Type: System.Int32 DefaultValue: 10 SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Query The search term(s) to look for in the marketplace. Used for fuzzy/text search. Cannot be combined with -ExtensionId. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: fuzzy Position: 0 IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -SortBy Sort order for fuzzy mode results. Valid values: Relevance - Best match for the search query (default) Downloads - Most downloaded extensions Rating - Highest rated extensions PublishedDate - Newest extensions Type: System.String DefaultValue: Relevance SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Version The specific version to resolve when using -ExtensionId (e.g. '16.3.0'). If omitted, the latest version is returned. If the requested version does not exist, falls back to latest with a warning. Only valid with -ExtensionId. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: exact Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters . INPUTS OUTPUTS PSCustomObject with the following properties: Publisher None NOTES API reference: https://github.com/microsoft/vscode/blob/main/src/vs/platform/extensionManagement/common/extensionGalleryService.ts RELATED LINKS None","title":"Find-VSCodeExtension"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#find-vscodeextension","text":"","title":"Find-VSCodeExtension"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#synopsis","text":"Searches the Visual Studio Code Marketplace via the public Gallery API.","title":"SYNOPSIS"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#syntax","text":"","title":"SYNTAX"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#fuzzy-default","text":"Find-VSCodeExtension [-Query] <string> [-PageSize <int>] [-SortBy <string>] [<CommonParameters>]","title":"fuzzy (Default)"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#exact","text":"Find-VSCodeExtension -ExtensionId <string> [-Version <string>] [-PageSize <int>] [-SortBy <string>] [<CommonParameters>]","title":"exact"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#aliases","text":"This cmdlet has the following aliases, None","title":"ALIASES"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#description","text":"Queries the VS Code Marketplace extension gallery and returns matching extensions with key metadata such as publisher, name, version, download count, and VSIX download URL. Supports two modes of operation: Fuzzy mode (-Query): performs a text search across the marketplace, returning up to -PageSize results ranked by the chosen sort order. Exact mode (-ExtensionId): performs a precise lookup by qualified extension name (publisher.extensionname), returning only that extension. Optionally, -Version can be used to resolve a specific version; if the requested version is not found, the latest version is returned with a warning.","title":"DESCRIPTION"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#examples","text":"","title":"EXAMPLES"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#example-1","text":"Find-VSCodeExtension -Query \"git\" Text search returning the top 10 most relevant git-related extensions.","title":"EXAMPLE 1"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#example-2","text":"Find-VSCodeExtension -Query \"python\" -PageSize 20 -SortBy Downloads Returns the top 20 Python extensions sorted by download count.","title":"EXAMPLE 2"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#example-3","text":"Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" Exact lookup for GitLens, returning the latest published version.","title":"EXAMPLE 3"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#example-4","text":"Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" -Version \"16.3.0\" Exact lookup for a specific version of GitLens.","title":"EXAMPLE 4"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#example-5","text":"Find-VSCodeExtension -ExtensionId \"eamodio.gitlens\" | Save-VSCodeExtension -Destination C:\\vsix Downloads the latest GitLens VSIX to C:\\vsix.","title":"EXAMPLE 5"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#parameters","text":"","title":"PARAMETERS"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#-extensionid","text":"The qualified extension name in publisher.extensionname format (e.g. 'eamodio.gitlens'). Performs an exact lookup. Cannot be combined with -Query. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: exact Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-ExtensionId"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#-pagesize","text":"Number of results to return in fuzzy mode. Defaults to 10, max 100. Has no effect in exact mode since only one extension is returned. Type: System.Int32 DefaultValue: 10 SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-PageSize"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#-query","text":"The search term(s) to look for in the marketplace. Used for fuzzy/text search. Cannot be combined with -ExtensionId. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: fuzzy Position: 0 IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Query"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#-sortby","text":"Sort order for fuzzy mode results. Valid values: Relevance - Best match for the search query (default) Downloads - Most downloaded extensions Rating - Highest rated extensions PublishedDate - Newest extensions Type: System.String DefaultValue: Relevance SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-SortBy"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#-version","text":"The specific version to resolve when using -ExtensionId (e.g. '16.3.0'). If omitted, the latest version is returned. If the requested version does not exist, falls back to latest with a warning. Only valid with -ExtensionId. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: exact Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Version"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#commonparameters","text":"This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters .","title":"CommonParameters"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#inputs","text":"","title":"INPUTS"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#outputs","text":"","title":"OUTPUTS"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#pscustomobject-with-the-following-properties","text":"Publisher None","title":"PSCustomObject with the following properties:"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#notes","text":"API reference: https://github.com/microsoft/vscode/blob/main/src/vs/platform/extensionManagement/common/extensionGalleryService.ts","title":"NOTES"},{"location":"VSCodeMarketplace/Find-VSCodeExtension/#related-links","text":"None","title":"RELATED LINKS"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/","text":"Install-VSCodeExtension SYNOPSIS Installs a VS Code extension using the Code CLI. SYNTAX extension (Default) Install-VSCodeExtension -Extension <psobject> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>] url Install-VSCodeExtension -Url <string> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>] file Install-VSCodeExtension -File <string> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>] ALIASES This cmdlet has the following aliases, None DESCRIPTION Installs a VS Code extension in one of three ways: Extension mode: accepts an extension object returned by Find-VSCodeExtension, downloads the VSIX to the Chocolatey tools directory, and installs it. URL mode: accepts a raw VS Code Marketplace vspackage URL and downloads the VSIX before installing. If the URL ends in .vsix, it is treated as a local file path (used by Chocolatey's Package Internalizer after internalization) and installed directly without downloading. File mode: accepts a path to an existing .vsix file and installs it directly. EXAMPLES EXAMPLE 1 Find-VSCodeExtension -ExtensionId 'eamodio.gitlens' | Install-VSCodeExtension -CodeExecutable 'C:\\Program Files\\Microsoft VS Code\\bin\\code.cmd' Downloads and installs the latest GitLens extension. EXAMPLE 2 Install-VSCodeExtension -Url 'https://marketplace.visualstudio.com/_apis/public/gallery/publishers/eamodio/vsextensions/gitlens/16.3.0/vspackage' -CodeExecutable $codeExe Downloads and installs a specific GitLens version. EXAMPLE 3 Install-VSCodeExtension -File 'C:\\packages\\gitlens.vsix' -CodeExecutable $codeExe Installs a locally available VSIX file. PARAMETERS -CodeExecutable Path to the VS Code CLI executable (e.g. code.exe or code-insiders.exe). Type: System.String DefaultValue: ((Get-Command code).Source) SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Destination The folder used to store the downloaded VSIX before installation. Defaults to $env:TEMP. In Chocolatey scripts, pass $toolsDir. Type: System.String DefaultValue: $env:TEMP SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Extension An extension object returned by Find-VSCodeExtension. Accepts pipeline input. Cannot be combined with -Url or -File. Type: System.Management.Automation.PSObject DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: extension Position: Named IsRequired: true ValueFromPipeline: true ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -File Path to a local .vsix file to install directly. Cannot be combined with -Extension or -Url. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: file Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Url A raw VS Code Marketplace vspackage URL, or a local path to a .vsix file (as substituted by Chocolatey's Package Internalizer). Cannot be combined with -Extension or -File. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: url Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters . INPUTS System.Management.Automation.PSObject None OUTPUTS NOTES RELATED LINKS None","title":"Install-VSCodeExtension"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#install-vscodeextension","text":"","title":"Install-VSCodeExtension"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#synopsis","text":"Installs a VS Code extension using the Code CLI.","title":"SYNOPSIS"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#syntax","text":"","title":"SYNTAX"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#extension-default","text":"Install-VSCodeExtension -Extension <psobject> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>]","title":"extension (Default)"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#url","text":"Install-VSCodeExtension -Url <string> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>]","title":"url"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#file","text":"Install-VSCodeExtension -File <string> [-Destination <string>] [-CodeExecutable <string>] [<CommonParameters>]","title":"file"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#aliases","text":"This cmdlet has the following aliases, None","title":"ALIASES"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#description","text":"Installs a VS Code extension in one of three ways: Extension mode: accepts an extension object returned by Find-VSCodeExtension, downloads the VSIX to the Chocolatey tools directory, and installs it. URL mode: accepts a raw VS Code Marketplace vspackage URL and downloads the VSIX before installing. If the URL ends in .vsix, it is treated as a local file path (used by Chocolatey's Package Internalizer after internalization) and installed directly without downloading. File mode: accepts a path to an existing .vsix file and installs it directly.","title":"DESCRIPTION"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#examples","text":"","title":"EXAMPLES"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#example-1","text":"Find-VSCodeExtension -ExtensionId 'eamodio.gitlens' | Install-VSCodeExtension -CodeExecutable 'C:\\Program Files\\Microsoft VS Code\\bin\\code.cmd' Downloads and installs the latest GitLens extension.","title":"EXAMPLE 1"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#example-2","text":"Install-VSCodeExtension -Url 'https://marketplace.visualstudio.com/_apis/public/gallery/publishers/eamodio/vsextensions/gitlens/16.3.0/vspackage' -CodeExecutable $codeExe Downloads and installs a specific GitLens version.","title":"EXAMPLE 2"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#example-3","text":"Install-VSCodeExtension -File 'C:\\packages\\gitlens.vsix' -CodeExecutable $codeExe Installs a locally available VSIX file.","title":"EXAMPLE 3"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#parameters","text":"","title":"PARAMETERS"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#-codeexecutable","text":"Path to the VS Code CLI executable (e.g. code.exe or code-insiders.exe). Type: System.String DefaultValue: ((Get-Command code).Source) SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-CodeExecutable"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#-destination","text":"The folder used to store the downloaded VSIX before installation. Defaults to $env:TEMP. In Chocolatey scripts, pass $toolsDir. Type: System.String DefaultValue: $env:TEMP SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Destination"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#-extension","text":"An extension object returned by Find-VSCodeExtension. Accepts pipeline input. Cannot be combined with -Url or -File. Type: System.Management.Automation.PSObject DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: extension Position: Named IsRequired: true ValueFromPipeline: true ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Extension"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#-file","text":"Path to a local .vsix file to install directly. Cannot be combined with -Extension or -Url. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: file Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-File"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#-url","text":"A raw VS Code Marketplace vspackage URL, or a local path to a .vsix file (as substituted by Chocolatey's Package Internalizer). Cannot be combined with -Extension or -File. Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: url Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Url"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#commonparameters","text":"This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters .","title":"CommonParameters"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#inputs","text":"","title":"INPUTS"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#systemmanagementautomationpsobject","text":"None","title":"System.Management.Automation.PSObject"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#outputs","text":"","title":"OUTPUTS"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#notes","text":"","title":"NOTES"},{"location":"VSCodeMarketplace/Install-VSCodeExtension/#related-links","text":"None","title":"RELATED LINKS"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/","text":"Save-VSCodeExtension SYNOPSIS Downloads one or more VS Code extensions as VSIX files. SYNTAX extension (Default) Save-VSCodeExtension -Extension <psobject[]> [-Destination <string>] [<CommonParameters>] url Save-VSCodeExtension -Url <string[]> [-Destination <string>] [<CommonParameters>] ALIASES This cmdlet has the following aliases, None DESCRIPTION Downloads VS Code extensions as VSIX files to a specified destination folder. Supports two modes of operation: Extension mode: accepts extension objects piped from Find-VSCodeExtension. The filename is derived automatically from the object's ExtensionId and Version. URL mode: accepts one or more raw vspackage URLs from the VS Code Marketplace API. The filename is parsed directly from the URL segments. In both modes, each downloaded file is returned as a FileInfo object. EXAMPLES EXAMPLE 1 Find-VSCodeExtension -Query \"python\" | Out-GridView -PassThru | Save-VSCodeExtension Searches for Python-related extensions, lets the user pick from a grid view, and downloads the selected extensions to the current directory. EXAMPLE 2 Find-VSCodeExtension -Query \"git\" -SortBy Downloads | Save-VSCodeExtension -Destination C:\\vsix Downloads the top git extensions by download count to C:\\vsix. EXAMPLE 3 Save-VSCodeExtension -Url \"https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2025.4.0/vspackage\" Downloads a specific extension version directly using its vspackage URL. EXAMPLE 4 $urls = (Find-VSCodeExtension -Query \"pylance\").VsixUrl Save-VSCodeExtension -Url $urls -Destination C:\\vsix Extracts the VsixUrl from search results and passes it directly via -Url. PARAMETERS -Destination The folder to save downloaded VSIX files to. Defaults to the current directory. Type: System.String DefaultValue: $PWD SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Extension One or more extension objects returned by Find-VSCodeExtension. Accepts pipeline input. Cannot be combined with -Url. Type: System.Management.Automation.PSObject[] DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: extension Position: Named IsRequired: true ValueFromPipeline: true ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Url One or more raw VS Code Marketplace vspackage URLs. Expected format: .../publishers/{publisher}/vsextensions/{name}/{version}/vspackage Cannot be combined with -Extension. Type: System.String[] DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: url Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters . INPUTS System.Management.Automation.PSObject[] None OUTPUTS System.IO.FileInfo for each downloaded file. None NOTES RELATED LINKS None","title":"Save-VSCodeExtension"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#save-vscodeextension","text":"","title":"Save-VSCodeExtension"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#synopsis","text":"Downloads one or more VS Code extensions as VSIX files.","title":"SYNOPSIS"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#syntax","text":"","title":"SYNTAX"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#extension-default","text":"Save-VSCodeExtension -Extension <psobject[]> [-Destination <string>] [<CommonParameters>]","title":"extension (Default)"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#url","text":"Save-VSCodeExtension -Url <string[]> [-Destination <string>] [<CommonParameters>]","title":"url"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#aliases","text":"This cmdlet has the following aliases, None","title":"ALIASES"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#description","text":"Downloads VS Code extensions as VSIX files to a specified destination folder. Supports two modes of operation: Extension mode: accepts extension objects piped from Find-VSCodeExtension. The filename is derived automatically from the object's ExtensionId and Version. URL mode: accepts one or more raw vspackage URLs from the VS Code Marketplace API. The filename is parsed directly from the URL segments. In both modes, each downloaded file is returned as a FileInfo object.","title":"DESCRIPTION"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#examples","text":"","title":"EXAMPLES"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#example-1","text":"Find-VSCodeExtension -Query \"python\" | Out-GridView -PassThru | Save-VSCodeExtension Searches for Python-related extensions, lets the user pick from a grid view, and downloads the selected extensions to the current directory.","title":"EXAMPLE 1"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#example-2","text":"Find-VSCodeExtension -Query \"git\" -SortBy Downloads | Save-VSCodeExtension -Destination C:\\vsix Downloads the top git extensions by download count to C:\\vsix.","title":"EXAMPLE 2"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#example-3","text":"Save-VSCodeExtension -Url \"https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2025.4.0/vspackage\" Downloads a specific extension version directly using its vspackage URL.","title":"EXAMPLE 3"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#example-4","text":"$urls = (Find-VSCodeExtension -Query \"pylance\").VsixUrl Save-VSCodeExtension -Url $urls -Destination C:\\vsix Extracts the VsixUrl from search results and passes it directly via -Url.","title":"EXAMPLE 4"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#parameters","text":"","title":"PARAMETERS"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#-destination","text":"The folder to save downloaded VSIX files to. Defaults to the current directory. Type: System.String DefaultValue: $PWD SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Destination"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#-extension","text":"One or more extension objects returned by Find-VSCodeExtension. Accepts pipeline input. Cannot be combined with -Url. Type: System.Management.Automation.PSObject[] DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: extension Position: Named IsRequired: true ValueFromPipeline: true ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Extension"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#-url","text":"One or more raw VS Code Marketplace vspackage URLs. Expected format: .../publishers/{publisher}/vsextensions/{name}/{version}/vspackage Cannot be combined with -Extension. Type: System.String[] DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: url Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Url"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#commonparameters","text":"This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters .","title":"CommonParameters"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#inputs","text":"","title":"INPUTS"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#systemmanagementautomationpsobject","text":"None","title":"System.Management.Automation.PSObject[]"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#outputs","text":"","title":"OUTPUTS"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#systemiofileinfo-for-each-downloaded-file","text":"None","title":"System.IO.FileInfo for each downloaded file."},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#notes","text":"","title":"NOTES"},{"location":"VSCodeMarketplace/Save-VSCodeExtension/#related-links","text":"None","title":"RELATED LINKS"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/","text":"Uninstall-VSCodeExtension SYNOPSIS Uninstalls a VS Code extension using the Code CLI. SYNTAX __AllParameterSets Uninstall-VSCodeExtension [-Extension] <string> [[-CodeExecutable] <string>] [<CommonParameters>] ALIASES This cmdlet has the following aliases, None DESCRIPTION Calls the VS Code CLI with --uninstall-extension to remove the specified extension. The extension is identified by its qualified name in publisher.extensionname format (e.g. 'eamodio.gitlens'). EXAMPLES EXAMPLE 1 Uninstall-VSCodeExtension -Extension 'eamodio.gitlens' -CodeExecutable 'C:\\Program Files\\Microsoft VS Code\\bin\\code.cmd' Uninstalls the GitLens extension from VS Code. PARAMETERS -CodeExecutable Path to the VS Code CLI executable (e.g. code.exe or code-insiders.exe). Type: System.String DefaultValue: ((Get-Command code).Source) SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: 1 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' -Extension The qualified extension name to uninstall, in publisher.extensionname format (e.g. 'eamodio.gitlens'). Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: 0 IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: '' CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters . INPUTS OUTPUTS NOTES RELATED LINKS None","title":"Uninstall-VSCodeExtension"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#uninstall-vscodeextension","text":"","title":"Uninstall-VSCodeExtension"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#synopsis","text":"Uninstalls a VS Code extension using the Code CLI.","title":"SYNOPSIS"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#syntax","text":"","title":"SYNTAX"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#__allparametersets","text":"Uninstall-VSCodeExtension [-Extension] <string> [[-CodeExecutable] <string>] [<CommonParameters>]","title":"__AllParameterSets"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#aliases","text":"This cmdlet has the following aliases, None","title":"ALIASES"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#description","text":"Calls the VS Code CLI with --uninstall-extension to remove the specified extension. The extension is identified by its qualified name in publisher.extensionname format (e.g. 'eamodio.gitlens').","title":"DESCRIPTION"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#examples","text":"","title":"EXAMPLES"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#example-1","text":"Uninstall-VSCodeExtension -Extension 'eamodio.gitlens' -CodeExecutable 'C:\\Program Files\\Microsoft VS Code\\bin\\code.cmd' Uninstalls the GitLens extension from VS Code.","title":"EXAMPLE 1"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#parameters","text":"","title":"PARAMETERS"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#-codeexecutable","text":"Path to the VS Code CLI executable (e.g. code.exe or code-insiders.exe). Type: System.String DefaultValue: ((Get-Command code).Source) SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: 1 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-CodeExecutable"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#-extension","text":"The qualified extension name to uninstall, in publisher.extensionname format (e.g. 'eamodio.gitlens'). Type: System.String DefaultValue: '' SupportsWildcards: false Aliases: [] ParameterSets: - Name: (All) Position: 0 IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false DontShow: false AcceptedValues: [] HelpMessage: ''","title":"-Extension"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#commonparameters","text":"This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters .","title":"CommonParameters"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#inputs","text":"","title":"INPUTS"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#outputs","text":"","title":"OUTPUTS"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#notes","text":"","title":"NOTES"},{"location":"VSCodeMarketplace/Uninstall-VSCodeExtension/#related-links","text":"None","title":"RELATED LINKS"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/","text":"VSCodeMarketPlace Module Description A wrapper for the VSCode marketplace that allows searching, saving, installing, and uninstalling VSCode extensions VSCodeMarketPlace Find-VSCodeExtension Searches the Visual Studio Code Marketplace via the public Gallery API. Install-VSCodeExtension Installs a VS Code extension using the Code CLI. Save-VSCodeExtension Downloads one or more VS Code extensions as VSIX files. Uninstall-VSCodeExtension Uninstalls a VS Code extension using the Code CLI.","title":"VSCodeMarketPlace Module"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#vscodemarketplace-module","text":"","title":"VSCodeMarketPlace Module"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#description","text":"A wrapper for the VSCode marketplace that allows searching, saving, installing, and uninstalling VSCode extensions","title":"Description"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#vscodemarketplace","text":"","title":"VSCodeMarketPlace"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#find-vscodeextension","text":"Searches the Visual Studio Code Marketplace via the public Gallery API.","title":"Find-VSCodeExtension"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#install-vscodeextension","text":"Installs a VS Code extension using the Code CLI.","title":"Install-VSCodeExtension"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#save-vscodeextension","text":"Downloads one or more VS Code extensions as VSIX files.","title":"Save-VSCodeExtension"},{"location":"VSCodeMarketplace/VSCodeMarketPlace/#uninstall-vscodeextension","text":"Uninstalls a VS Code extension using the Code CLI.","title":"Uninstall-VSCodeExtension"}]}