Can I distribute Xcode at my company internally through configuration management scripts?

My company is slower to upgrade our developers' workstations and as such we often lag behind in Mac OS and Xcode versions. As such, developers often have trouble installing and configuring the correct versions for internal development.

I'm wondering if I can legally store specific versions of Xcode in an internal drive and have my configuration scripts vend it to developers so that they always receive the company-approved versions? I've tried diving into forums and Google but maybe I'm not searching the right thing.


Everywhere I have ever worked in 30 years of IT work it is perfectly fine to place an installer on a local/network drive for in-house installation as long as there are no licensing issues.

And since XCode is free to use for anyone with a compatible Mac, I would think yes, this is fine.

Also macOS Server has (I seem to recall) a caching option which stores software updates on your internal network for the very same thing.