Microsoft Visual Studio Community 2022 Offline Installer

On the offline machine, run:

D:\VS2022Offline\vs_community.exe

You can run with flags:

Example silent install for a workload:

vs_community.exe --noweb --quiet --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended

Downloading all 45 GB is overkill if you only need, say, .NET desktop development and Unity game development. You can customize the layout by specifying workload IDs. microsoft visual studio community 2022 offline installer

Step 1: Find Workload IDs Open a command prompt and run:

vs_community.exe --listWorkloads

Common IDs include:

Step 2: Run Layout with specific workloads You can run with flags:

vs_community.exe --layout C:\VS2022_Offline_Custom --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US

This creates a smaller, targeted offline installer (approx. 10–15 GB).

Open an elevated Command Prompt (Run as administrator) and run a command like:

vs_community.exe --layout D:\VS2022Offline --lang en-US

Options you may add:

Tip: To see available workload and component IDs, run:

vs_community.exe --layout D:\VS2022Offline --help

or consult Microsoft’s Visual Studio layout documentation.