Go to the official Visual Studio download page and download the Community Edition bootstrapper file: vs_community.exe .
How to Download the Visual Studio Community 2022 Offline Installer (Step-by-Step) download visual studio community 2022 offline installer
Press Win + X and select "Terminal (Admin)" or "Command Prompt (Admin)." Go to the official Visual Studio download page
vs_setup.exe Don't want 40GB of files? You can customize the offline layout to only download what you actually need. You need the
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.
The standard web installer won't work. You need the .
Unfortunately, Microsoft doesn't just hand you a single 5GB "setup.exe" file. Instead, they provide a bootstrapper that downloads the specific workloads you need. Here is the exact method to build your own offline installer. This method uses the original web installer but tells it to download all the files locally first.