HeMinWon
V2EX  ›  macOS

分享一个自用内存清理脚本 CleanMyMac

  •  
  •   HeMinWon · Oct 24, 2024 · 2617 views
    This topic created in 571 days ago, the information mentioned may be changed or developed.
    针对公司 MacOS 电脑日常报内存不够问题

    ### 主要清理以下目录:
    - Xcode
    - Homebrew
    - Gem
    - cache
    - logs

    具体参见: https://github.com/HeminWon/CleanMyMac


    ### 使用方式
    终端执行以下命令
    ```
    curl https://raw.githubusercontent.com/HeminWon/CleanMyMac/main/cleanmymac.sh | sh
    ```
    9 replies    2024-10-30 14:51:57 +08:00
    Rorysky
        1
    Rorysky  
       Oct 24, 2024
    修改为 磁盘清理比较好
    beginor
        2
    beginor  
       Oct 24, 2024 via Android
    不错,已加⭐
    ostrichb
        3
    ostrichb  
       Oct 24, 2024
    彈窗的方式好高級
    sanshao124
        4
    sanshao124  
       Oct 24, 2024 via iPhone
    多加到清理内容,完全可以替换清理软件了
    Ccf
        5
    Ccf  
       Oct 26, 2024
    关注了,感谢
    mir2
        6
    mir2  
       Oct 27, 2024
    无法更新 brew 怎么办
    ==> Updating Homebrew...
    Already up-to-date.
    Error: Unknown command: brew cu
    HeMinWon
        7
    HeMinWon  
    OP
       Oct 28, 2024
    @sanshao124 有什么想要加的清理项可以给我提一下 issue
    HeMinWon
        8
    HeMinWon  
    OP
       Oct 28, 2024
    @mir2 你好 可以先安装下 cu

    ### 安装 cu
    ```
    arch --arm64 brew tap buo/cask-upgrade
    ```
    sanshao124
        9
    sanshao124  
       Oct 30, 2024
    @HeMinWon #7 我也不太了解,就是看每次用 clean my mac 软件能扫除一堆的所谓垃圾,你可以参考一下,找一些能通过命令行做到的加进去,我觉得其实 clean my mac 软件除了卸载软件和清理垃圾大部分功能都没什么用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1022 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 22:28 · PVG 06:28 · LAX 15:28 · JFK 18:28
    ♥ Do have faith in what you're doing.