mac cleanup sh
v1.1.9: Merge pull request #89 from jrodan
brew tap fwartner/tap
brew install fwartner/tap/mac-cleanupЕсли вы увидите
Error: SHA256 mismatchПопробуйте это:
- Скопируйте "фактический" хэш из ошибки
- Запустите
brew edit fwartner/tap/mac-cleanup- Нажмите
Iи изменитеsha256 "<some hash>"с хэшем с шага 1- Нажмите
:затемwqиEnter- Повторная установка
brew install fwartner/tap/mac-cleanup
curl -fsSL https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh | bash -s installwget https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh -O - | bash -s installcurl -o cleanup https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/mac-cleanupchmod +x cleanupsudo mv cleanup /usr/local/bin/cleanup При установке с помощью сгиба вам нужно вызовать cleanup вместо mac-cleanup .
curl -fsSL " https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh " | bash -s updatewget " https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh " -O - | bash -s updatecurl -fsSL " https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh " | bash -s uninstallwget " https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh " -O - | bash -s uninstallПомогите меню:
$ mac-cleanup -h
A Mac Cleanup Utility by fwartner
https://github.com/mac-cleanup/mac-cleanup-sh
USAGE:
mac-cleanup [FLAGS]
FLAGS:
-h, --help Prints help menu
-d, --dry-run Print approx space to be cleaned
-v, --verbose Print script debug info
-u, --update Run brew update
Этот проект существует благодаря всем людям, которые вносят свой вклад.
Если вам нравится то, что я делаю, подумайте о спонсоре моей работы!