Download Visual Studio Offline Installer 2022 — ((better))
vs_community.exe --layout c:\vs2022_offline --lang en-US
Example – only .NET desktop + Universal Windows Platform: download visual studio offline installer 2022
Unlike the web installer (a few MB), the offline installer downloads all necessary files at once so you can install without an internet connection or deploy across multiple machines. Microsoft does not provide a single monolithic EXE. You must use the Visual Studio Bootstrapper with command-line arguments. vs_community
Navigate to where you saved the bootstrapper (e.g., cd C:\Users\YourName\Downloads ), then run: cd C:\Users\YourName\Downloads )
vs_professional.exe --layout c:\vs2022_offline --lang en-US