To install Visual Studio 2022, run the Visual Studio Installer, choose your edition, then tick only the workloads that match what you build: for example .NET desktop development, ASP.NET and web development, or Desktop development with C++. You can add or remove workloads later with the Modify button, so a small first install is fine.
Before you install
- Use an up to date, supported version of Windows.
- Keep plenty of free disk space. Each workload adds several gigabytes in many cases.
- Sign in with an account that can install software.
- Decide on the edition. See Visual Studio 2022 Professional vs Community.
Which workload for which job
| You build | Workload to select |
|---|---|
| Windows desktop apps in C# | .NET desktop development |
| Websites and web APIs | ASP.NET and web development |
| C and C++ programs | Desktop development with C++ |
| SQL databases and scripts | Data storage and processing |
| Python | Python development |
| Mobile and cross-platform .NET apps | .NET Multi-platform App UI development |
Installation steps
- Download the installer from Microsoft’s Visual Studio page and run it.
- Let the Visual Studio Installer update itself.
- On the Workloads tab, tick what you need.
- Optionally open Language packs or Individual components.
- Choose the install location and click Install.
- Start Visual Studio, sign in or enter your product key.
Enter your Professional key
In Visual Studio, open Help, then Register Product, and choose the option to unlock with a product key. If you bought from Webdigikey, copy the key from My account, under My orders. The product page is Visual Studio 2022 Pro.
Add or remove workloads later
Open Visual Studio Installer from the Start menu and choose Modify next to your installation. Tick or untick workloads and apply. This is also the way to free space after a project ends.
If you also run a database for your apps, compare editions in SQL Server 2019 Standard vs Enterprise. For diagrams of your system, see what Microsoft Visio is used for. Other developer tools are in the Visual Studio category.
Frequently asked questions
Should I install every workload?
No. It uses a lot of space and time. Install what you need now and add more later.
Can I keep Visual Studio 2019 and 2022 on one PC?
Yes, different major versions can be installed side by side.
Do I need Professional to learn programming?
Not usually. Community covers learning and many individual projects, subject to its license terms.
Microsoft, Windows, Office and other product names are trademarks of their respective owners.