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ลองสิ่งนี้:
- คัดลอกแฮช "จริง" จากข้อผิดพลาด
- Run
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
โครงการนี้มีอยู่ขอบคุณทุกคนที่มีส่วนร่วม
ถ้าคุณชอบสิ่งที่ฉันทำโปรดพิจารณาสปอนเซอร์งานของฉัน!