Go to the official Visual Studio download page and download the Community Edition bootstrapper file: vs_community.exe .
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. download visual studio community 2022 offline installer
vs_setup.exe Don't want 40GB of files? You can customize the offline layout to only download what you actually need. Go to the official Visual Studio download page
For example, to download only and C++ desktop development in English: Here is the exact method to build your own offline installer
Need to install VS Code or VS Community on a machine without the internet? Learn exactly how to create a full offline installer for Visual Studio Community 2022. Visual Studio Community 2022 remains the go-to free IDE for students, open-source contributors, and small development teams. But what happens when your development machine is air-gapped, has a slow connection, or you need to deploy the same environment to multiple PCs?
Use the cd command to go to where you saved vs_community.exe . For example:
How to Download the Visual Studio Community 2022 Offline Installer (Step-by-Step)