You install, disable, update, and uninstall extensions from the Extensions view in VS Code. Open it by clicking the Extensions icon in the Activity Bar or by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).
Extensions add languages, debuggers, themes, and tools to VS Code. They come from the Visual Studio Marketplace.
Every extension has a publisher and an identifier shown as publisher.extension. For example, ms-python.python is the Python extension from Microsoft. You will see this identifier on the extension's details page.
How to install an extension
Open the Extensions view
Click the Extensions icon in the Activity Bar on the left side of VS Code. The Extensions view shows installed and recommended extensions by default.
Search for the extension
Type the extension name or a tool name in the search box at the top. For example, type python to find Python extensions.
If you know the exact identifier, use the @id: prefix like @id:ms-python.python. Type @ in the search box for available filters.
Review the extension details
Click the extension to open its details page. Review the publisher name, description, install count, and star rating.
Check the Feature Contributions tab to see what settings, commands, and keyboard shortcuts the extension adds.
Click Install
Click the green Install button. VS Code downloads and installs the extension from the Marketplace.
If this is your first extension from a third-party publisher, VS Code shows a dialog asking you to confirm that you trust the publisher. This security check was added in VS Code 1.97 and appears once per publisher.
Confirm the install
After installation, the Install button changes to a Manage gear icon. The extension is now active.
Some extensions require you to restart the extension host. VS Code will prompt you with a Restart Extensions button if needed.
You can also install an extension from the Command Palette. Open it with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS), run Extensions: Install Extensions, and pick from the list.
To install without syncing across machines (when Settings Sync is on), right-click the extension and choose Install (Do not Sync).
To install a specific older version, right-click the extension and choose Install Another Version.
To install a pre-release version, click the dropdown arrow on the Install button and choose Install Pre-Release Version.
Install from the command line
Use the code command in your terminal:
code --install-extension ms-python.pythonThe argument is the full publisher.extension identifier. You can pass the flag multiple times to install several extensions at once.
How to disable an extension
Disabling an extension stops it from running but keeps it installed. Your settings for that extension are preserved.
Find the installed extension
In the Extensions view, find the extension you want to disable in the installed list. You can use the @installed filter to show only installed extensions.
Open the gear menu
Click the Manage gear icon on the right side of the extension entry.
Choose disable scope
Select Disable to disable it globally across all VS Code windows. Select Disable (Workspace) to disable it only in the current project.
Confirm restart
VS Code prompts you to restart the extension host. Click Restart Extensions to apply the change.
A disabled extension moves to the Disabled section of the list and shows a Disabled label. It stays disabled across all VS Code sessions until you re-enable it.
To disable all extensions at once, run Extensions: Disable All Installed Extensions from the Command Palette.
How to re-enable a disabled extension
In the Extensions view, find the extension in the Disabled section. Click the gear icon and select Enable (global) or Enable (Workspace). Click Restart Extensions when prompted.
How to update extensions
VS Code checks for extension updates and installs them automatically by default. After an update, you see a Restart Extensions prompt.
By default, VS Code waits 2 hours after an update is published before installing it. This delay is controlled by the extensions.autoUpdateDelay setting. Set it to 0 to install updates immediately.
Check for and install updates manually
If you turned off auto-update, or want to update right now:
Show outdated extensions
In the Extensions view, click the Filter icon (funnel) or type @updates in the search box. This shows only extensions that have a newer version available.
Update an extension
Click the Update button on the extension entry. To update all outdated extensions at once, click the ... (More Actions) menu and select Update All Extensions.
Restart extensions
Click Restart Extensions when prompted.
Change auto-update behavior
| Change auto-update behavior | |---|---| | Disable auto-update for all | Command Palette: Extensions: Disable Auto Update for Extensions | | Enable auto-update for all | Command Palette: Extensions: Enable Auto Update for Extensions | | Toggle auto-update for one extension | Right-click the extension and toggle Auto Update | | Stop checking for updates | Set extensions.autoCheckUpdates to false in Settings | | Change update delay | Set extensions.autoUpdateDelay (in hours, default 2) |
Disabled extensions are not auto-updated. They update the next time you enable them.
How to uninstall an extension
Uninstalling removes the extension completely from your machine.
Find the extension
In the Extensions view, locate the extension you want to remove.
Click the gear menu
Click the Manage gear icon on the right side of the extension entry.
Choose Uninstall
Select Uninstall from the dropdown menu.
Restart extensions
VS Code prompts you to restart the extension host. Click Restart Extensions.
Uninstall from the command line
Run this command, using the full publisher.extension identifier:
code --uninstall-extension ms-python.pythonThe extension is removed immediately. VS Code prompts you to restart the extension host to complete the process.
List installed extensions from the command line
To see every extension you have installed:
code --list-extensionsThe output is a plain list of publisher.extension identifiers, one per line. To see extension versions alongside names, add the --show-versions flag:
code --list-extensions --show-versionsExtensions view filters at a glance
| Filter | Shows |
|---|---|
| @installed | All installed extensions (including disabled) |
| @enabled | Enabled extensions only |
| @disabled | Disabled extensions only |
| @updates | Extensions with available updates |
| @builtin | Extensions that ship with VS Code |
| @recommended | Workspace and general recommendations |
| @popular | Most popular Marketplace extensions |
| @sort:installs | Sorted by install count |
| @sort:rating | Sorted by star rating |
| @id:publisher.name | Find by exact identifier |
Combine filters. For example, @installed @category:themes shows all installed theme extensions.
What to do when something goes wrong
If you cannot install any extension and see a connect ETIMEDOUT error, your machine may be behind a proxy. Configure the proxy in VS Code settings under Http: Proxy. See the proxy server documentation for details.
If an extension causes problems after an update, try temporarily disabling it first. If the issue continues, you can use the Extension Bisect utility from the More Actions menu (...) to isolate which extension is causing the problem.
If an extension shows the error Cannot install extension because Visual Studio Code cannot verify the extension signature, exercise caution. This is a security warning. You can learn more in the article on checking whether an extension is safe. If you received an extension as a file instead of from the Marketplace, read the guide on installing from a VSIX file.
Rune AI
Key Insights
- Open the Extensions view with Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS) or by clicking the Extensions icon in the Activity Bar.
- Install by searching for the extension and clicking Install. Since VS Code 1.97, a trust dialog appears for third-party publishers.
- Disable an extension from the gear menu. Choose Disable (globally) or Disable (Workspace) for one project only.
- VS Code auto-updates extensions by default. Use the @updates filter to see available updates and update manually.
- Uninstall from the gear menu and confirm Restart Extensions when prompted.
- Use code --install-extension, code --uninstall-extension, and code --list-extensions from the command line for scripting.
Frequently Asked Questions
Where are VS Code extensions installed on my computer?
What happens when I disable an extension vs uninstalling it?
Will disabling an extension remove its settings?
Conclusion
You can now install, disable, update, and uninstall any VS Code extension from the Extensions view, the Command Palette, or the command line. For everyday use, the Extensions view is the fastest path. For scripting or automation, use the code CLI commands. If you want to learn how to check whether an extension is safe before installing it, read the guide on checking extension safety.
More in this topic
How to Use VS Code with WSL 2 on Windows
Run VS Code connected to Windows Subsystem for Linux so you can develop in a full Linux environment with native tools, terminals, and debugging, all from Windows.
20 Best VS Code Extensions for Web Developers in 2026
Twenty carefully chosen VS Code extensions every web developer should know. Covers formatting, linting, frameworks, debugging, Git, and developer experience.
12 Best VS Code Extensions for Linting, Formatting, and Code Quality
Twelve VS Code extensions that catch bugs, enforce style, and keep your code clean. Covers ESLint, Prettier, SonarLint, markdownlint, and more.