install-vscode-extension

Installs VS Code extensions by extension ID using the workbench command.

Updated Aug 30, 2026
One-click install
npx skills add https://github.com/Tyrizx/Tyrizx --skill install-vscode-extension-tyrizx
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: install-vscode-extension
Source: https://github.com/Tyrizx/Tyrizx/tree/main/extensions/copilot/assets/prompts/skills/install-vscode-extension
Command: npx skills add https://github.com/Tyrizx/Tyrizx --skill install-vscode-extension-tyrizx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Users often know the name of a VS Code extension they want but not the exact steps or command needed to install it programmatically. This Skill provides the precise procedure for installing any VS Code extension from its extension ID, removing guesswork about command syntax and version selection. ## Core Features & Use Cases - Extension ID Resolution: Explains the publisher.extensionName identifier format (e.g., ms-python.python) so the correct extension is targeted. - Command-Based Installation: Uses the built-in workbench.extensions.installExtension command with arguments for enabling the extension and selecting pre-release versions. - Version Selection Logic: Installs the pre-release version when the user explicitly requests it or when running in VS Code Insiders, otherwise installs the stable release. - Use Case: A user asks to add Python support to their editor. The Skill identifies the extension ID ms-python.python and runs the install command via the copilot_runVscodeCommand tool with skipCheck enabled. ## Quick Start Install the Python extension for VS Code using its extension ID ms-python.python.

Frequently Asked Questions about install-vscode-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a VS Code extension from the command line?▼

Use the workbench.extensions.installExtension command with the extension ID as the first argument, followed by options like enable and installPreReleaseVersion. The extension ID follows the publisher.extensionName format, such as ms-python.python.

What is a VS Code extension ID and where do I find it?▼

A VS Code extension ID uniquely identifies an extension in the format publisher.extensionName, for example ms-python.python for the Microsoft Python extension. It is required when installing extensions programmatically via the install command.

How do I install the pre-release version of a VS Code extension?▼

Pass installPreReleaseVersion as true in the arguments to the workbench.extensions.installExtension command. Pre-release versions should be installed when the user explicitly requests them or when running in VS Code Insiders.

Should I install the stable or pre-release version of an extension?▼

Install the stable version by default. Choose the pre-release version only when the user explicitly asks for it or when the current environment is VS Code Insiders, where pre-release builds are the expected default.

Why does the extension install command fail with a command not found error?▼

The workbench.extensions.installExtension command is built into VS Code and always exists. When invoking it through the copilot_runVscodeCommand tool, pass skipCheck as true to bypass the existence check and avoid false failures.