Skip to content

Instantly share code, notes, and snippets.

Rodeo314 /
Created September 6, 2021 16:07 — forked from mokagio/
Install Xcode CLI Tools without GUI
# See
echo "Checking Xcode CLI tools"
# Only run if the tools are not installed yet
# To check that try to print the SDK path
xcode-select -p &> /dev/null
if [ $? -ne 0 ]; then
echo "Xcode CLI tools not found. Installing them..."