Download from: Visual Studio 2022 Downloads Open Command Prompt as Administrator and navigate to where you saved the bootstrapper. Basic command (English, all workloads): vs_community.exe --layout c:\vs2022_offline --lang en-US Include multiple languages: vs_community.exe --layout c:\vs2022_offline --lang en-US de-DE fr-FR Include specific workloads only (saves space): First, list workload IDs:
| Edition | Bootstrapper filename | |---------|----------------------| | Community | vs_community.exe | | Professional | vs_professional.exe | | Enterprise | vs_enterprise.exe | vs2022 offline installer
D:\vs2022_offline\vs_setup.exe --noweb --quiet --wait --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended | Parameter | Effect | |-----------|--------| | --noweb | Prevents any online fallback | | --quiet | No UI | | --wait | Returns exit code when done | | --norestart | Prevent automatic reboot | Step 6: Update the Offline Layout Later To refresh your offline installer with latest updates (on the internet-connected PC): Download from: Visual Studio 2022 Downloads Open Command
vs_community.exe --list Then create layout with selected workloads: vs2022 offline installer