# Installing the Xcode command line tools on 10.7.x or higher It’s also available from my Github repo from the following link: On 10.9.x and 10.10.x, the softwareupdate tool will not work properly when called from within an installer package. Note: This script should not be used as part of a payload-free installer package. After installation, unmounts the disk image and removes it from the Mac in question.Installs the Xcode Command Line Tools using the installer package stored on the disk image.Disk image will not be visible to any logged-in user. Mounts the disk image silently in /tmp.Renames the downloaded disk image to cltools.dmg.Uses curl to download a disk image containing the specified Xcode Command Line Tools installer from Apple’s web site.Removes the placeholder file stored in /tmp.Uses the softwareupdate tool to install the latest version of the Xcode command line tools for the OS in question.Runs the softwareupdate tool and checks for the latest version of the Xcode command line tools for the OS in question.This file’s existence is checked by the softwareupdate tool before allowing the installation of the Xcode command line tools. The script will perform different tasks, depending on which version of OS X it’s being run on. To help with this task, I’ve developed a script that will download and install the Xcode Command Line Tools on Macs running 10.7.x and higher. It’ll provide a dmg file for download and it’ll resolve it quickly.A number of Mac admins need to provide the Xcode Command Line Tools for the Macs in their environments, either as part of building machines or afterwards. In short: I was stuck in a position that I needed to get the CLI tools reinstalled, installed at the latest version, and installed as fast as possible.Īnd thus, back to the initial paragraph of this post: Use this page and search for the latest version of the tools to download.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |