Ensure your installation path is less than 80 characters to avoid errors.
I can then provide the exact command-line string for your specific needs. Create an offline installation - Visual Studio (Windows) download visual studio 2022 community offline installer new
Use the following command syntax:
Visual Studio 2022 Community comes with several new features, including: Ensure your installation path is less than 80
Open (or PowerShell) as an Administrator and navigate to your downloads folder. Use the following command to download the files for specific workloads (like .NET Desktop or Web development) into a local folder: download visual studio 2022 community offline installer new