Windows 10 (version 1909 or higher) or Windows 11.
If you are deploying this to via an enterprise network script.
To save space and time, specify only the workloads you need using --add . Find workload IDs from Microsoft’s documentation.
To start, you need a small executable file that will fetch the required components. Go to the official Visual Studio Downloads Page and download the bootstrapper for the The file will typically be named vs_community.exe VisualStudioSetup.exe Place this file in a dedicated folder on a machine that have an internet connection. Microsoft Learn Step 2: Create the Local Layout via Command Line microsoft visual studio 2022 community offline installer
vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.NativeDesktop --lang en-US Use code with caution.
Go to the official Visual Studio download page and get vs_community.exe (the small bootstrapper ~1–2 MB).
vs_community.exe --layout <folder> --lang en-US Windows 10 (version 1909 or higher) or Windows 11
Option A: Download the Complete Layout (Not Recommended for Everyone)
The is not a relic; it is a strategic asset. Whether you are a student working in a dorm with spotty Wi-Fi, a contractor installing environments on secure government PCs, or a DevOps engineer managing a CI/CD farm, mastering the offline layout saves hours, bandwidth, and frustration.
Visual Studio is updated frequently. An offline layout you created six months ago will be outdated today. To update your local cache, simply run the same command you used in Step 2 again. Find workload IDs from Microsoft’s documentation
On a computer with a stable internet connection, download the official bootstrapper for Visual Studio 2022 Community from https://aka.ms/vs/17/release/vs_community.exe . Save it to a convenient folder, like C:\VS2022Bootstrapper .
Verify and update layout (optional but recommended):
Fast SSD space varying from 20 GB (basic apps) up to 210 GB (complete workspace payload).