install-vscode-extension

Install VS Code extensions by ID using workbench.extensions.installExtension.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/DeltaFoundry850/crispy-fishstick --skill install-vscode-extension-deltafoundry850
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: install-vscode-extension
Source: https://github.com/DeltaFoundry850/crispy-fishstick/tree/main/prompts/skills/install-vscode-extension
Command: npx skills add https://github.com/DeltaFoundry850/crispy-fishstick --skill install-vscode-extension-deltafoundry850

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide explains how to install a VS Code extension using its extension ID to extend editor capabilities.

Core Features & Use Cases

  • Determine the extension's ID from the publisher.extensionName format.
  • Install the extension via the VS Code command workbench.extensions.installExtension with the extensionId and optional settings.
  • Note: install the pre-release version if requested or if the environment is VS Code Insiders, otherwise install the stable version.

Quick Start

Use the VS Code command to install the extension by its ID, for example 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 using an extension ID?

To install a VS Code extension, use the workbench.extensions.installExtension command with the extensionId in publisher.extensionName format. This method simplifies adding capabilities to the editor through automated setup scripts.

Can I install pre-release VS Code extensions through automated provisioning?

Yes, automated extension provisioning supports pre-release versions. When scripting VS Code installations, use optional arguments with the installExtension command to enable the extension and specifically choose pre-release builds.

What is the correct format for a VS Code extension ID?

A VS Code extension ID uses the publisher.extensionName format. Identifying this exact ID is required to successfully automate the installation of editor capabilities through setup scripts or onboarding environments.

Does automated VS Code extension installation work for onboarding new dev environments?

Yes, scripting VS Code extension installation is designed for onboarding new environments. It relies on the installExtension command to ensure predictable, repeatable installations of required editor capabilities across development setups.

When should I use the installExtension command instead of the VS Code UI?

Use the installExtension command for scripted IDE provisioning and automated setup. It allows deterministic, repeatable installations of extensions by ID, which is more reliable than manual UI clicks for environment onboarding.