Skip to content

HeminWon/CleanMyMac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CleanMyMac

A simple shell script to clean up the junk files generated during daily development work on macOS. Regularly using this script helps prevent excessive accumulation of unnecessary files over time.

Features

  • Clear Xcode Build Files: Removes Derived Data and Archives to free up space.
  • Cleanup Homebrew: Uninstalls all outdated software installed via Homebrew.
  • Clear Old Gem Versions: Removes all previously installed versions of Ruby gems.
  • Upgrade Before Cleanup: Prompts to upgrade Homebrew and Ruby gems before cleaning. Click "YES" to proceed with the upgrades.

Usage

To execute the script, run the following command in your terminal:

curl https://raw.githubusercontent.com/HeminWon/CleanMyMac/main/cleanmymac.sh | sh

Requirements

  • macOS
  • Homebrew
  • mas (Mac App Store CLI)
# install mas
brew install mas

Contribution

We welcome contributions! If you have suggestions for improvements or new features, feel free to submit a Merge Request (MR).

Issues

If you encounter any bugs or have questions about the script, please open an issue in the repository. Your feedback is greatly appreciated!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages