title | titleSuffix | description | ms.date | ms.topic | ms.custom | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Modify Visual Studio workloads and components |
Modify your Visual Studio installation with the Visual Studio Installer. Add or remove workloads, components, and language packs. |
08/19/2024 |
how-to |
vs-acquisition |
|
anandmeg |
meghaanand |
mijacobs |
installation |
It's easy to modify Visual Studio so that it includes only what you want. To do so, open the Visual Studio Installer, and then add or remove workloads, components, and language packs. This article walks you through the process.
-
By default, to install, update, or modify Visual Studio, the account performing the update must have administrative permissions on the machine. It must also have permissions to the source where the product updates are located (either the internet or an internal location). If you're logged in as a typical user and try to perform one of these commands, you get a User Account Control notice prompting you for admin credentials. Starting in August 2023, an admin can delegate control of modifying Visual Studio to standard users by configuring the
AllowStandardUserControl
policy. For more information, see User Permissions and Visual Studio. -
The following procedures assume you have an internet connection. For information about how to modify a previously created offline installation of Visual Studio, see:
To modify your Visual Studio installation, you need to open the Visual Studio Installer and then select a Visual Studio installation to modify.
::: moniker range="vs-2019"
-
Find the Visual Studio Installer on your computer.
On the Windows Start menu, you can search for "installer."
:::image type="content" source="media/vs-2019/visual-studio-installer.png" alt-text="Screenshot of the result of a Start menu search for the Visual Studio Installer.":::
[!NOTE] You can also find the Visual Studio Installer in the following location:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
You might need to update the installer before continuing. If you do, follow the prompts.
-
In the installer, look for the edition of Visual Studio that you installed and then select Modify.
:::image type="content" source="media/vs-2019/vs-installer-modify.png" alt-text="Screenshot of a list of Visual Studio installations in the Visual Studio Installer.":::
[!IMPORTANT] If you have an update pending, the Modify button is in a different place. This enables you to modify Visual Studio without updating it, if you want to. Select More and then select Modify.
:::image type="content" source="media/vs-2019/modify-update-visual-studio.png" alt-text="Screenshot of the Modify button in the Visual Studio Installer. The button is located on the More dropdown menu when an update is pending.":::
::: moniker-end
::: moniker range=">=vs-2022"
-
There are many ways to open the Visual Studio Installer:
-
On the Windows Start menu, you can search for "installer" and then select Visual Studio Installer from the results.
:::image type="content" source="media/vs-2022/vs-installer.png " alt-text="Screenshot of the result of a Start menu search for the Visual Studio Installer.":::
-
Run the Visual Studio Installer executable file, which is located at
C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
. -
If you have Visual Studio open, select Tools > Get Tools and Features.
:::image type="content" source="media/vs-2022/vs-tools-menu.png" alt-text="Screenshot of the Visual Studio 2022 tools menu. Get Tools and Features is highlighted.":::
You might be prompted to update the Visual Studio Installer before continuing. If you are, follow the prompts.
-
-
In the Visual Studio Installer, look for the installation of Visual Studio that you want to modify and then select Modify.
:::image type="content" source="media/vs-2022/vs-installer-modify.png" alt-text="Screenshot of a list of Visual Studio installations in the Visual Studio Installer.":::
::: moniker-end
::: moniker range="vs-2019"
Workloads contain the features you need for the programming language or platform that you use. Use workloads to modify Visual Studio so that it supports the work you want to do.
Tip
For more information about which tool and component bundles you need for development, see Visual Studio workloads.
-
In the Visual Studio Installer, on the Workloads tab, select the workloads that you want.
:::image type="content" source="media/vs-2019/vs-installer-modify-workloads.png" alt-text="Screenshot of the Workloads tab of the Visual Studio Installer." lightbox="media/vs-2019/vs-installer-modify-workloads.png":::
-
You can select the default Install while downloading option or the Download all, then install option.
:::image type="content" source="media/vs-2019/vs-installer-choose-install-or-download.png" alt-text="Screenshot of the download and install options in the Visual Studio Installer.":::
-
Select Modify.
-
After the new workloads are installed, select Launch in the Visual Studio Installer to open Visual Studio.
::: moniker-end
::: moniker range=">=vs-2022"
Workloads contain the components you need for the programming language or platform that you use. Use workloads to modify Visual Studio so that it supports the work you want to do.
Tip
For more information about which tools and component bundles you need for development, see Visual Studio workloads.
-
In the Visual Studio Installer, on the Workloads tab, select the workloads that you want.
:::image type="content" source="media/vs-2022/vs-installer-modify-workloads.png" alt-text="Screenshot of the Workloads tab of the Visual Studio Installer." lightbox="media/vs-2022/vs-installer-modify-workloads.png":::
-
To add more components than a workload installs, on the Individual components tab, select the individual components that you want.
:::image type="content" source="media/vs-2022/vs-installer-individual-components.png" alt-text="Screenshot of the Individual components tab of the Visual Studio Installer." lightbox="media/vs-2022/vs-installer-individual-components.png":::
-
You can select the default Install while downloading or Download all, then install.
:::image type="content" source="media/vs-2022/vs-installer-choose-install-or-download.png" alt-text="Screenshot of the download and install options in the Visual Studio Installer.":::
-
Select Modify.
-
After the modified workloads or components are installed, select Launch in the Visual Studio Installer to open Visual Studio 2022.
You can also use a configuration file to modify an existing installation to add or remove components. For more information, see Import or export installation configurations.
::: moniker-end
Tip
For information about the SQL Server Data Tools (SSDT) component, see Download and install SSDT for Visual Studio.
The Visual Studio Installer selects a default language pack for Visual Studio that matches the language of your operating system. You can change the default language whenever you want.
To change the default language:
- Select the Language packs tab in the Visual Studio Installer.
- Select the language you prefer.
- Follow the prompts.
[!INCLUDEinstall_get_support_md]