You can share the C:\VSBuildTools folder over a network or distribute it via removable media. When you want to install the Build Tools on another machine:
vs_BuildTools.exe --layout C:\VS2022_BuildTools_Offline --lang en-US build tools for visual studio 2022 offline installer
"%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" cl.exe msbuild -version You can share the C:\VSBuildTools folder over a
After installation, verify core build tools: build tools for visual studio 2022 offline installer
For scripted installations, point the bootstrap to the layout path: