You do not download an ISO directly. Instead, you download a tiny (1–2 MB) bootstrapper executable from the official Visual Studio download page. The bootstrapper acts as a manifest reader.
Once the command finishes executing (this may take hours depending on your connection), your target folder will contain: visual studio 2022 iso offline
Downloading everything takes over of space. To save space, download only the specific "workloads" you need (e.g., .NET desktop and web development): You do not download an ISO directly
To install Visual Studio 2022 from the ISO file: visual studio 2022 iso offline