Visual Studio Community 2022 Offline Installer ((link)) Official
You now have a portable folder (e.g., C:\VS2022_Layout_Selective ). Copy this folder to a USB drive (requires NTFS formatting due to file size), an external HDD, or a network location.
Create an offline installation - Visual Studio (Windows) - Microsoft Learn visual studio community 2022 offline installer