Open the offline layout folder ( LocalLayout ) on the target machine.
Open an elevated (Admin) command prompt and create the layout:
The edition is a free, fully-featured IDE for individual developers, open-source contributors, and small teams (up to 5 users). The offline installer is not a single .exe but a bootstrapper plus a set of local layout files you download once, then use to install VS without an internet connection.
Open a and navigate to your download folder. Run the following command to download the packages into a specific directory:
Note: You can find a list of all Workload IDs on the Microsoft Documentation site .
Press Win + X and select "Terminal (Admin)" or "Command Prompt (Admin)". Navigate to your folder:
From an updated layout, run on each client:
The is not a relic of the dial-up era; it is a professional-grade deployment strategy. By taking 30 minutes to master the --layout command, you gain control over your development environment, eliminate network dependency, and standardize your team's toolchain.
A standard installation of Visual Studio 2022 requires an active internet connection to download components as they are selected. However, for environments with limited bandwidth or high-security offline machines, you can create a "local layout"—a complete offline installation package. Microsoft Learn 1. Preparation
The bootstrapper will scan your existing folder, verify current versions, and download only the newly updated or missing components. Troubleshooting Common Issues
Select the workloads you wish to install. The installer will automatically pull data from the local folder rather than attempting to reach out to the internet.