Skip to content

Instantly share code, notes, and snippets.

View nathanlane's full-sized avatar

Nathan Lane nathanlane

View GitHub Profile
@nathanlane
nathanlane / remove_CLI_tools.sh
Created December 3, 2020 15:43 — forked from yoneken/remove_CLI_tools.sh
Xcode Command Line Tools Uninstaller
# remove_CLI_tools.sh
# written by cocoanetics:http://www.cocoanetics.com/2012/07/you-dont-need-the-xcode-command-line-tools/
# modified by yoneken
#!/bin/sh
RECEIPT_FILE1=/var/db/receipts/com.apple.pkg.DevSDK.bom
RECEIPT_PLIST1=/var/db/receipts/com.apple.pkg.DevSDK.plist
RECEIPT_FILE2=/var/db/receipts/com.apple.pkg.clang.bom
RECEIPT_PLIST2=/var/db/receipts/com.apple.pkg.clang.plist