Installing Command Line Tools via Self Service

falbrecht
New Contributor III

Hi

We are in the process of removing local admin rights for users machines. We are trying to figure out how to install command line tools, such as xcode, from self service. The issue we are foreseeing is authentication. We want to write scripts to take care of these installs and wanted to see if anybody else has dealt with something like this and may have some tips.

5 REPLIES 5

MatthewGC
New Contributor III

Found this with a quick search https://gist.github.com/brysgo/9007731

ljcacioppo
Contributor III
Contributor III

awoodbury
Contributor

We download the Installer .pkg from the Developer page here:

 

https://developer.apple.com/download/all

 

And push it out via a Policy.

 

atrystan
New Contributor III

We are installing XCode using the Mac Apps (i.e. VPP) to keep it updated automatically. Have you found problems with compatibility by deploying the CLTs manually?

mm2270
Legendary Contributor II

I do the same as @awoodbury, since it's free to set up a basic Apple developer account that has access to all the downloads for Xcode, command line tools and others.