Hướng dẫn cài đặt visual studio 2023 community và c
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Show
Install Visual Studio
In this articleApplies to: Visual Studio Visual Studio for Mac Visual Studio CodeWelcome 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. 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 StudioBefore you begin installing Visual Studio:
For questions about running other 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 other versions. For more information, see Visual Studio 2022 platform targeting and compatibility and Install Visual Studio versions side-by-side. Step 2 - Determine which version and edition of Visual Studio to installYou will need to decide which version and edition of Visual Studio to install. The most common options are:
Step 3 - Initiate the installationIf you downloaded a bootstrapper file, then you can use it to install Visual Studio. The bootstrapper will first install the latest version of the Visual Studio Installer. The installer is a separate program that provides everything you need to both install and customize Visual Studio.
You can also intiate an installation of any product that is offered on the . Step 4 - Choose workloadsAfter the Visual Studio Installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want. Here's how.
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. 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. Change the installer language from the command lineAnother 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:
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:
The installer will remember this setting when it's run the next time. The installer supports these : 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. 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
Support or troubleshootingSometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance. |