Install Visual Studio (2023)

  • Article
  • 7 minutes to read

Applies to: Install Visual Studio (1)Visual Studio Install Visual Studio (2)Visual Studio for Mac Install Visual Studio (3)Visual Studio Code

Welcome to Visual Studio 2019! In this version, it's easy to choose and install just the features you need. And because of its reduced minimum footprint, it installs quickly and with less system impact.

Welcome to Visual Studio 2022! In this version, it's easy to choose and install just the features you need.

Note

This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see Install Visual Studio for Mac.

Want to know more about what else is new in this version? See our release notes.

Want to know more about what else is new in this version? See our release notes.

Ready to install? We'll walk you through it, step-by-step.

Step 1 - Make sure your computer is ready for Visual Studio

Before you begin installing Visual Studio:

  1. Check the system requirements. These requirements help you know whether your computer supports Visual Studio 2019.

  2. Apply the latest Windows updates. These updates ensure that your computer has both the latest security updates and the required system components for Visual Studio.

  3. Reboot. The reboot ensures that any pending installs or updates don't hinder your Visual Studio install.

  4. Free up space. Remove unneeded files and applications from your system drive by, for example, running the Disk Cleanup app.

  1. Check the system requirements. These requirements help you know whether your computer supports Visual Studio 2022.

  2. Apply the latest Windows updates. These updates ensure that your computer has both the latest security updates and the required system components for Visual Studio.

  3. Reboot. The reboot ensures that any pending installs or updates don't hinder your Visual Studio install.

  4. Free up space. Remove unneeded files and applications from your system drive by, for example, running the Disk Cleanup app.

(Video) How to install Visual Studio 2022 on Windows 10

For questions about running previous versions of Visual Studio side by side with Visual Studio 2019, see Visual Studio 2019 Platform Targeting and Compatibility.

You can install Visual Studio 2022 side by side with previous versions. For more information, see Visual Studio 2022 platform targeting and compatibility and Install Visual Studio versions side-by-side.

Step 2 - Download Visual Studio

Next, download the Visual Studio bootstrapper file.

To do so, choose the following button, choose the edition of Visual Studio that you want, choose Save, and then choose Open folder.

Download Visual Studio

To do so, select the following button, choose the edition of Visual Studio that you want, and then save to your Downloads folder.

Download Visual Studio

(Video) How to install Visual Studio 2019 on Windows 10

Step 3 - Install the Visual Studio Installer

Run the bootstrapper file to install the Visual Studio Installer. This new lightweight installer includes everything you need to both install and customize Visual Studio.

  1. From your Downloads folder, double-click the bootstrapper that matches or is similar to one of the following files:

    • vs_community.exe for Visual Studio Community
    • vs_professional.exe for Visual Studio Professional
    • vs_enterprise.exe for Visual Studio Enterprise

    If you receive a User Account Control notice, choose Yes.

  2. We'll ask you to acknowledge the Microsoft License Terms and the Microsoft Privacy Statement. Choose Continue.

Install Visual Studio (4)

Install Visual Studio (5)

Step 4 - Choose workloads

After the installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want. Here's how.

  1. Find the workload you want in the Visual Studio Installer.

    Install Visual Studio (6)

    For example, choose the "ASP.NET and web development" workload. It comes with the default core editor, which includes basic code editing support for over 20 languages, the ability to open and edit code from any folder without requiring a project, and integrated source code control.

  2. After you choose the workload(s) you want, choose Install.

    Next, status screens appear that show the progress of your Visual Studio installation.

  1. Select the workload you want in the Visual Studio Installer.

    Install Visual Studio (7)

    Review the workload summaries to decide which workload supports the features you need. For example, choose the ASP.NET and web development workload to edit ASP.NET Web pages with Web Live Preview or build responsive web apps with Blazor, or choose from Desktop & Mobile workloads to develop cross-platform apps with C#, or C++ projects that target C++20.

    (Video) How to install Visual Studio Code on Windows 10/11 [ 2022 Update ] Complete Guide

  2. After you choose the workload(s) you want, select Install.

    Next, status screens appear that show the progress of your Visual Studio installation.

Tip

At any time after installation, you can install workloads or components that you didn't install initially. If you have Visual Studio open, go to Tools > Get Tools and Features... which opens the Visual Studio Installer. Or, open the Visual Studio Installer from the Start menu. From there, you can choose the workloads or components that you wish to install. Then, choose Modify.

Step 5 - Choose individual components (optional)

If you don't want to use the Workloads feature to customize your Visual Studio installation, or you want to add more components than a workload installs, you can do so by installing or adding individual components from the Individual components tab. Choose what you want, and then follow the prompts.

Install Visual Studio (8)

Install Visual Studio (9)

Step 6 - Install language packs (optional)

By default, the installer program tries to match the language of the operating system when it runs for the first time. To install Visual Studio in a language of your choosing, choose the Language packs tab from the Visual Studio Installer, and then follow the prompts.

Install Visual Studio (10)

Install Visual Studio (11)

Change the installer language from the command line

Another way that you can change the default language is by running the installer from the command line. For example, you can force the installer to run in English by using the following command: vs_installer.exe --locale en-US. The installer will remember this setting when it is run the next time. The installer supports the following language tokens: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru, and tr-tr.

Another way that you can change the default language is by running the installer from the command line. For example, you can force the installer to run in English by using the following command: vs_installer.exe --locale en-US. The installer will remember this setting when it's run the next time. The installer supports these language locales: zh-cn, zh-tw, cs-cz, en-us, es-es, fr-fr, de-de, it-it, ja-jp, ko-kr, pl-pl, pt-br, ru-ru, and tr-tr.

Step 7 - Select the installation location (optional)

You can reduce the installation footprint of Visual Studio on your system drive. You can choose to move the download cache, shared components, SDKs, and tools to different drives, and keep Visual Studio on the drive that runs it the fastest.

Install Visual Studio (12)

You can reduce the installation footprint of Visual Studio on your system drive. For more information, see Select installation locations.

Install Visual Studio (13)

(Video) Install and Use Visual Studio Code on Windows 10 (VS Code)

Important

You can select a different drive for Visual Studio IDE or download cache only when you first install Visual Studio. If you've already installed it and want to change drives, you must uninstall Visual Studio and then reinstall it.

If you've installed Visual Studio on your computer before, you won't be able to change the Shared components, tools, and SDKs path and it will appear greyed out. This location is shared by all installations of Visual Studio.

Step 8 - Start developing

  1. After Visual Studio installation is complete, select the Launch button to get started developing with Visual Studio.

  2. On the start window, choose Create a new project.

  3. In the search box, enter the type of app you want to create to see a list of available templates. The list of templates depends on the workloads that you chose during installation. To see different templates, choose different workloads.

    You can also filter your search for a specific programming language by using the Language drop-down list. You can filter by using the Platform list and the Project type list, too.

  4. Visual Studio opens your new project, and you're ready to code!

  1. After your Visual Studio installation is complete, select the Launch button to get started developing with Visual Studio.

  2. On the start window, choose Create a new project.

  3. In the template search box, enter the type of app you want to create to see a list of available templates. The list of templates depends on the workloads that you chose during installation. To see different templates, choose different workloads.

    You can also filter your search for a specific programming language by using the Language drop-down list. You can filter by using the Platform list and the Project type list, too.

    (Video) Install VS Code In 2 Minutes | Windows & Mac | English

  4. Visual Studio opens your new project, and you're ready to code!

Support or troubleshooting

Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.

Here are a few more support options:

  • We also offer an installation chat (English only) support option for installation-related issues.
  • Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you're an IT Administrator and don't have Visual Studio installed, you can submit IT Admin feedback here.
  • Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

See also

  • Update Visual Studio
  • Modify Visual Studio
  • Uninstall Visual Studio
  • Create an offline installation of Visual Studio
  • Use command-line parameters to install Visual Studio
  • Install Visual Studio for Mac

FAQs

How much RAM do I need for Visual Studio? ›

Requires 1 GB of RAM (1.5 GB if running on a virtual machine) Requires 1 GB of available hard disk space. Requires 1024 by 768 or higher display resolution. For the best experience, use the most recent update of these diagnostic tools for your version of Visual Studio.

How do I fully install Visual Studio Code? ›

Download the Visual Studio Code installer for Windows. Once it is downloaded, run the installer (VSCodeUserSetup-{version}.exe). This will only take a minute. By default, VS Code is installed under C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code .

How do I fix Visual Studio not installing? ›

Online installations
  1. Step 1 - Check whether the problem is a known issue. ...
  2. Step 2 - Try repairing Visual Studio. ...
  3. Step 3 - Check with the developer community. ...
  4. Step 4 - Delete the Visual Studio Installer folder to fix upgrade problems. ...
  5. Step 5 - Report a problem. ...
  6. Step 6 - Remove Visual Studio installation files.
13 Oct 2022

How much space does Visual Studio take up? ›

Microsoft Visual Studio Build Tools 2019 System Requirements

Also installs on the Server Core option for Windows Server 2016 and Windows Server 2019. Also installs into a Windows container. Requires 2.3 GB to 60 GB of available hard disk space, depending on installed features.

Is 4GB RAM enough for VS Code? ›

We recommend: 1.6 GHz or faster processor. 1 GB of RAM.

Is 8GB RAM enough for coding? ›

Yes, 8GB RAM is generally enough for most programming tasks. However, to be truly sure how much RAM you need for programming, you need to establish the kind of programming you will be using your computer for.

What's the difference between Visual Studio and Visual Studio Code? ›

Visual Studio vs Visual Studio Code - Differences

Visual Studio is an Integrated Development Environment, also known as an IDE. Visual Studio Code is a code editor. A developer can easily edit their code. VS is slower when it comes to performing across different platforms.

Is Visual Studio free? ›

Visual Studio Community. A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services.

Which Visual Studio is best for Windows 10? ›

Visual Studio 2022 is the best Visual Studio ever. Our first 64-bit IDE makes it easier to work with even bigger projects and more complex workloads. The stuff you do every day—like typing code and switching branches—feels more fluid more responsive.

How long does Visual Studio take to install? ›

On the "Installing Visual Studio" screen, select the option for . NET Desktop Development. The installation uses up to 12 GB of space; please be extremely patient. The installation will normally take between 30-60 minutes, but it may be more depending on your internet connection.

Does Visual Studio install for all users? ›

Yes, there is a way to install Visual Studio Code for all users in Windows. TL;DR – Download the System Installer here and install.

Is it necessary to install Visual Studio for flutter? ›

To Solve Visual Studio not installed; this is necessary for Windows development Error This error Occurs Because Flutter Latest version is Now Supports Windows App Also And Visual Studio 2022 with C++ Includes C++, C, and assembly language development tools and it is helpful for creating desktop apps, device drivers, ...

Do you need 32GB of RAM for programming? ›

For most coders (other than those working on huge, complex projects), the RAM needed to run your operating system properly will suffice for programming, which is why we recommend 8 to 16 GB of RAM for the task.

Is 16GB RAM enough for programming? ›

The golden rule is that you will never regret having more RAM. The more you have, the smoother your programming and overall computer usage experience will be, and the more you can run at once. However, if you are on a budget, a computer with 8GB or 16GB should be more than enough for programming.

Is 32GB RAM overkill? ›

Finally, 32 GB of RAM might still be appealing for those who want to keep their PC future-proof and/or those who also use their PC as a workstation. However, for gaming in 2021, it's generally overkill. Is 32gb RAM overkill for gaming? You'd have to look pretty hard to find any games today that will use that much RAM.

Is 8GB RAM enough for 2022? ›

Yes, 8GB RAM is enough for doing programming in your computer if process is slow then you need to add SSD on your computer.

Videos

1. VS Code Installation for C++ in Windows | Step by step process explanation
(Apna College)
2. Install & Configure VS Code With C Compiler: C Tutorial In Hindi #3
(CodeWithHarry)
3. Lec 1: How to Install and Set Visual Studio Code and MinGW Compiler for C and C++ | C++ Tutorials
(Jenny's lectures CS/IT NET&JRF)
4. How to Install Microsoft Visual Studio on Windows 10 (64 bit) [ 2021 Update ] Complete guide
(Geeky Script)
5. How to Install Visual Studio 2022 On Windows 11
(ProgrammingKnowledge)
6. How to Download and Install Visual Studio
(ProgrammingKnowledge)
Top Articles
Latest Posts
Article information

Author: Mr. See Jast

Last Updated: 04/13/2023

Views: 5749

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.