First, you need the small "bootstrapper" file. This is the same tiny executable used for the web installer.
Here is the basic syntax:
Microsoft does not provide a single monolithic EXE. You must use the with command-line arguments. download visual studio offline installer 2022