The standard web installer won't work. You need the .

cd C:\Users\YourName\Downloads This is the magic command that tells the installer to "download everything, but don't install yet."

Stick with the web installer. Building a dev lab or an air-gapped workstation? Build the offline layout today. Did this help you? Share this guide with your team or leave a comment below with the specific workloads you needed to download offline.

If you meant VS Code (not Visual Studio), the offline installer is much simpler: Download the .exe (System Installer) or .zip (portable) file from the official VS Code website under "Download" → "Other downloads." Final Verdict There is no single "VS2022 Community Offline Installer.exe" file. Instead, you use the official bootstrapper with the --layout command. It takes an extra 10 minutes to set up, but once you have that USB drive, you can install Visual Studio on any offline machine indefinitely.

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.

Use the cd command to go to where you saved vs_community.exe . For example:

Burn the c:\vs2022_offline folder to a USB drive or external HDD. On the target PC, open that folder and run:

For example, to download only and C++ desktop development in English: