To set up on a machine without a stable internet connection, you need to create what Microsoft calls a "layout." This involves downloading the necessary files on a connected PC first to create a local repository. Quick Guide to Creating an Offline Installer

Create an offline installation - Visual Studio (Windows) - Microsoft Learn

If the offline machine is completely air-gapped, you may need to manually install the certificates found in the Certificates subfolder of your layout before running the setup.

visual studio community 2022 offline installer

Visual Studio Community 2022 Offline Installer 'link' | 2026 |

To set up on a machine without a stable internet connection, you need to create what Microsoft calls a "layout." This involves downloading the necessary files on a connected PC first to create a local repository. Quick Guide to Creating an Offline Installer

Create an offline installation - Visual Studio (Windows) - Microsoft Learn

If the offline machine is completely air-gapped, you may need to manually install the certificates found in the Certificates subfolder of your layout before running the setup.