Prerequisites
Before installing Visual Studio, ensure your system meets the minimum requirements.
- Operating System: Windows 10 version 1909 or later, Windows Server 2016 or later
- CPU: 1.8 GHz or faster × 2 cores
- RAM: 4 GB (8 GB recommended)
- Disk Space: Minimum 1 GB, up to 50 GB for typical workloads
- Internet connection for downloading components
Download Visual Studio
1
Visit the official download page and choose the edition you need (Community, Professional, Enterprise).
Download Visual StudioRun the Installation Wizard
2
Launch the downloaded vs_Community.exe (or the respective installer) to start the wizard.
Select the workloads you want, such as:
- .NET desktop development
- Desktop development with C++
- Python development
- Web development (ASP.NET, Node.js)
Click Install and wait for the process to complete.
Command‑Line Installation (Optional)
For automated setups, you can use the vs_installer.exe with a .json configuration file.
{
"installChannelUri": "https://aka.ms/vs/17/release/channel",
"productId": "Microsoft.VisualStudio.Community",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"payload": {
"installPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
"addProductLanguages": true,
"addWorkbenchComponents": true,
"addProductFeatures": [
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.NativeDesktop"
]
}
}
Run the command:
vs_installer.exe --config install.json --quiet --wait
Troubleshooting
- Installation fails with
0x80070005: Run the installer as Administrator. - Insufficient disk space: Use the
--layoutoption to download offline components to a different drive. - Network issues: Use the
--noWebProxyflag or set a proxy via environment variables.
For more help, see the official troubleshooting guide.