Visual Studio 2022 Offline Install May 2026
vs_enterprise.exe --layout D:\temp --list Key Workload IDs for common scenarios: | Role | Workload ID | Approx. Size | | :--- | :--- | :--- | | .NET Desktop Dev | Microsoft.VisualStudio.Workload.ManagedDesktop | 2.5 GB | | C++ Desktop Dev | Microsoft.VisualStudio.Workload.NativeDesktop | 5.5 GB | | Game Dev (Unity) | Microsoft.VisualStudio.Workload.ManagedGame | 2 GB | | Data Science | Microsoft.VisualStudio.Workload.DataScience | 1.5 GB |
Pro tip: Add --includeOptional if you want everything for a workload. Add --includeRecommended for a practical, full-featured install. Once your layout is complete (watch for the "Layout generation completed successfully" message), distributing it is as simple as copying the folder to a USB drive or network share. visual studio 2022 offline install
vs_enterprise.exe --layout D:\VS2022_Offline --lang en-US This downloads Visual Studio Enterprise with the English language pack. Without further filters, this pulls all available workloads. vs_enterprise
vs_<edition>.exe --layout <destination_path> Scenario A: The Full Monty (Everything) Warning: This is massive (30-40 GB). Once your layout is complete (watch for the
The basic syntax for creating a layout is:
vs_enterprise.exe --layout C:\VSLayout --lang en-US de-DE fr-FR ja-JP Perfect for global teams—download once, install in four languages. To control layout size, you must master workload IDs. Use the --list command first to see available IDs:
vs_professional.exe --layout \\network\share\VS2022 --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.Node --includeRecommended --lang en-US This creates a lean ~4GB layout containing only ASP.NET and Node.js workloads, plus their recommended components.
