Press Win + X and select "Terminal (Admin)" or "Command Prompt (Admin)."
This is the core step. You will use the command prompt to tell the bootstrapper to download files to a local folder. download visual studio community 2022 offline installer
The offline installer will be saved as a .vsix file (e.g., vs_community.vsix ). Press Win + X and select "Terminal (Admin)"
Offline Windows machines sometimes lack required root certificates. Before installing, make sure the offline PC has all Windows Updates applied, or manually install the certificate from certificates folder inside your layout. This will download ~30-40 GB of files (including
This will output "Hello, World!" to the console.
This will download ~30-40 GB of files (including all core components). If you only need specific workloads, you can add --add parameters (see Pro Tip below).
For example, to download only and C++ desktop development in English: