Navigate to the folder containing vs_community.exe . Use cd to change directories.
Microsoft releases updates monthly. To refresh your cache:
vs_community.exe --layout <target_folder> [optional parameters] For example: visual studio community edition offline installer
vs_community.exe --layout D:\VS2022_Offline --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.NativeDesktop --lang en-US This command downloads the web development and native desktop workloads (C++) plus English language pack into D:\VS2022_Offline .
The basic syntax is:
Copy the entire folder to a USB drive, network share, or internal server. On target machines, run vs_community.exe from within that folder—it will install directly from the local cache without internet. Scenario A: Updating your offline layout
Whether you are equipping a school computer lab, a secure development facility, or simply tired of re-downloading the SDK every time you set up a new machine, the offline installer transforms Visual Studio from a cloud-dependent application into a reliable, portable toolkit. Microsoft has provided the mechanism; with this guide, you can now put it to work. Navigate to the folder containing vs_community
The layout is portable. On a disconnected PC, run: