VS Code SetupBeginner

How to Install and Manage Extensions in VS Code

Find, install, disable, and uninstall VS Code extensions using the Marketplace panel and the command line.

6 minBeginner

Almost everything that makes VS Code feel powerful comes from extensions: language support, linters, themes, and AI assistants. Before you add Copilot, Continue, or Cline, it helps to know exactly how the extension system works so you can install, update, and clean things up without confusion. This guide walks through the Extensions view and the equivalent command line tools.

What you need

  • VS Code installed (any recent version)
  • An internet connection to reach the Marketplace
  • Optional: the code command available in your terminal
  • About 5 minutes

Step 1: Open the Extensions view

Click the square Extensions icon in the Activity Bar on the far left, or press Ctrl+Shift+X on Windows and Linux, or Cmd+Shift+X on macOS. A search box appears at the top of the panel and results fill the list below it as you type.

VS Code - Extensions view
EXTENSIONS [ python ]
----------------------------------------
Python Microsoft Install
Pylance Microsoft Install
Black Formatter Microsoft Install
Jupyter Microsoft Install
The Extensions panel with a search query and result list.

Step 2: Install an extension

Click the blue Install button next to a result, or click the extension name first to read its full description, screenshots, and changelog before deciding. After installing, some extensions add icons to the status bar or a new view in the sidebar.

Check the publisher
Anyone can publish to the Marketplace. Before installing, confirm the publisher name and look at the install count and reviews. For official tools, the publisher is usually the company behind the product, such as Microsoft, GitHub, or Continue.dev.

Step 3: Install from the command line

If you set up several machines or want a repeatable setup, the code command can install extensions by their identifier, which is the publisher name and extension name joined with a dot. You can find the identifier on each extension's page under More Info.

zsh - extensions
$code --install-extension ms-python.python
Installing extension 'ms-python.python'...
Extension 'ms-python.python' was successfully installed.
$code --list-extensions
ms-python.python
github.copilot
$

Step 4: Disable or uninstall

Click the gear icon next to an installed extension to find Disable, Disable (Workspace), and Uninstall. Disabling keeps the extension installed but inactive, which is handy when you suspect one is slowing things down. Uninstall removes it entirely.

Sync your setup
Turn on Settings Sync from the account icon at the bottom left. It backs up your installed extensions, settings, and keybindings to your Microsoft or GitHub account so a new machine matches your current one in minutes.

Result

You can now install extensions from the panel or the terminal, read publisher details before trusting a tool, and disable or remove anything you no longer want. With this foundation, adding AI coding assistants in the next guides is straightforward.

Watch related tutorials

Tags
#extensions#marketplace#setup#beginner