Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aviral2552/cleanmymac
A developer friendly command line cleaner program for modern macOS systems
https://github.com/aviral2552/cleanmymac
anaconda atom brew cleaners composer homebrew macos macos-utilities npm rustup system-cleaner yarn
Last synced: 4 days ago
JSON representation
A developer friendly command line cleaner program for modern macOS systems
- Host: GitHub
- URL: https://github.com/aviral2552/cleanmymac
- Owner: aviral2552
- License: gpl-3.0
- Created: 2018-10-30T11:10:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T11:53:48.000Z (11 months ago)
- Last Synced: 2024-10-25T03:48:44.436Z (12 days ago)
- Topics: anaconda, atom, brew, cleaners, composer, homebrew, macos, macos-utilities, npm, rustup, system-cleaner, yarn
- Language: Shell
- Homepage:
- Size: 53.7 KB
- Stars: 65
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clean my macOS
Clean My macOS is built for modern macOS systems. It performs maintainance for mostly commonly used components in the core OS and third party tools with a single terminal command.
Clean My macOS uses a simple plugin system with all "cleaners" located in `~/.cleanmymac/cleaners` directory. Functionality can be added (or removed) by adding (or removing) files in the directory.
## Pre-requisites
You must have `brew` and `git` installed. You can use the cleaners that you need to or remove the ones that you do not want to use. Cleaners are located in the `~/.cleanmymac/cleaners` directory.
To install Homebrew open terminal and type
`$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
After installing Homebrew, you can install `git` by typing the following in the terminal
`$ brew install git`
## Installation
Open Terminal and type
`$ git clone https://github.com/aviral2552/cleanmymac.git && cd cleanmymac && ./install.sh && cd`
Note: Clean My macOS is always installed in `~/.cleanmymac` directory
## Supported commands
Update all packages and run all maintainance cleaners on your system
`$ cleanmymac`
Run self-update for Clean My macOS
`$ cleanmymac update`
Display Clean My macOS help page
`$ cleanmymac help`
## Supported cleaners
* macOS core maintenance
* Homebrew
* Anaconda Navigator
* npm
* Yarn
* Composer
* Rustup
* Atom## Uninstallation
To uninstall, run the following command in terminal
`$ ~/.cleanmymac/setup/uninstall.sh`
Note: Uninstallation is not required for updates. You can run `$ cleanmymac update` to perform auto-update.
## How do cleaners work
Cleaners are located under `~/.cleanmymac/cleaners` directory. You may remove the cleaners that are not applicable on your system.
## How do I contribute
Feel free to fork the project and submit a pull request for new or updated cleaner scripts.