Xcclear
Simple and easy to use command line application written in Go for cleaning unnecessary XCode files.
Install / Use
/learn @lajosdeme/XcclearREADME
xcclear
Say hello to a few extra gigabytes of space on your Mac with xcclear, a simple and easy to use command line application written in Go for cleaning unnecessary XCode files.
Installation
brew install lajosdeme/utils/xcclear
Screenshots
Run xcclear -d to diagnose your storage:

Run xcclear -p to purge all unwanted files from your storage:

Options
flag | type | description
-------------------------- | --------- | ------------------------------------------
-d/--diagnose | bool | Diagnose the total space occupied by derived data, caches and other XCode related files.<br>
-p/--purge | bool | Clean all caches/unnecessary files.
-c/--clear | string | Clean only the specified directories.<br>Options can be:<br> - derived: Derived Data.<br> - device: iOS DeviceSupport (The latest iOS version will be kept.)<br> - watch: watchOS DeviceSupport<br> - simulator: 'CoreSimulator'<br> - cache: Xcode caches located at ~/Library/Caches/com.apple.dt.Xcode<br> - archives: Archives
-v/--version | bool | Get the current version.
Development
Compiling from source
go get github.com/lajosdeme/xcclear
If $GOPATH/bin is on your $PATH run xcclear -h to see usage options.
Contributing
If you have any suggestions or questions feel free to raise an issue or reach out to me directly via <a href="mailto:lajosd@protonmail.ch">lajosd@protonmail.ch</a>.
If this tool made your life easier you can thank me by buying me a coffee.
<a href="https://www.buymeacoffee.com/edgz29w" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
