Once the download completes, copy the c:\vs2022_offline folder to your target machine (USB drive, network share, etc.). On the target machine:

The Community Edition is free for individual developers, but Professional and Enterprise require licensing, even in an offline environment.

| Parameter | Purpose | | :--- | :--- | | --layout <path> | Destination folder for offline cache | | --add <workloadOrComponentId> | Download specific workloads (see list below) | | --lang <lang> | Language pack (e.g., en-US , zh-CN , de-DE ) | | --includeRecommended | Include recommended components for workloads | | --includeOptional | Include all optional components () | | --useLatestInstaller | Force re-download of installer itself | | --fix | Repair a layout (re-download corrupted files) |

This works for Community Edition especially.

vs_professional.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US Use code with caution. Copied to clipboard Note: You can find a full list of workload IDs on the Microsoft Workload ID page 3. Transfer and Install on the Offline Machine Once the download is complete, copy the entire C:\VS2022Offline folder to the target machine (via USB or network share). Microsoft Learn Step A: Install Certificates

Open and navigate to where you saved the bootstrapper. Then use the --layout command.

and locate the vs_setup.exe (or the corresponding bootstrapper executable). Run the installer as an administrator.

Get your work done with our popular desktop software.