github tw93/Mole V1.41.0-windows
V1.41.0-windows Steady

3 hours ago
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. See what changed after mo update: Once an update lands, mo update lists the new version's highlights with a link to the release.
  2. Analyze sizes files by what they take on disk: OneDrive online-only files count as 0, and sparse or compressed files such as VHDX and WSL images show their real footprint instead of their nominal size.
  3. More caches cleaned, with data kept: Measured cache folders of Chromium preview channels, 360 Chrome, Quark, Trae, Qoder, Kiro, Discord PTB and Canary, QQ, Feishu, Lark, Jianying Pro, CapCut and more, while storage, sessions and projects stay. With --system, finished Delivery Optimization downloads are removed by Windows' own service, and NVIDIA driver installer folders go once they are a week old and unused.
  4. Uninstall results you can rely on: mo uninstall rereads each app's uninstall command right before running it, exits 1 when an app is not fully removed, and reminds you before removing Lenovo Vantage, MyASUS or Surface that the battery charge limit stays after uninstall, so change it in the app first if needed.
  5. Optimize retrims every healthy SSD: Besides the system drive, other healthy SSD volumes now get a TRIM pass.
  6. Launchers keep working after PowerShell updates: mo and mole use the pwsh on PATH instead of a versioned folder a Store update deletes, start under user folders with non-ASCII names, say so plainly when pwsh has left PATH, and the installer reuses the PowerShell you ran it with.

更新日志

  1. mo update 之后能看到这一版改了什么:更新完成后会列出新版本的要点和发布页链接。
  2. analyze 按实际占用计算大小:OneDrive 仅在线的文件算作 0,VHDX、WSL 镜像这类稀疏或压缩文件按真实占用显示,不再按名义大小排到前面。
  3. 能清理的缓存更多,数据照样保留:新增 Chromium 预览版、360 极速浏览器、夸克、Trae、Qoder、Kiro、Discord PTB 和 Canary、QQ、飞书、Lark、剪映专业版、CapCut 等实测过的缓存目录,存储、会话和项目都不动,--system 下下载完成的传递优化文件交给 Windows 自己的服务删除,放了一周且没在用的 NVIDIA 驱动解压目录也会清理。
  4. 卸载结果更可靠:mo uninstall 在运行每个卸载命令前会重新读取一次,有应用没卸干净时退出码为 1,卸载联想 Vantage、MyASUS 和 Surface 前会提醒卸载后电池充电上限保持不变,要改得先在应用里改。
  5. optimize 会给每块健康的 SSD 做 TRIM:除了系统盘,其他状态正常的 SSD 分区也会执行一次。
  6. PowerShell 更新后启动器照常能用:mo 和 mole 改用 PATH 上的 pwsh,不会因为商店版更新删掉旧版本目录而失效,用户名带中文时也能启动,PATH 上找不到 pwsh 时会直接说明,安装器也会沿用你运行它时的 PowerShell。

Thanks

Issue reporters and PR contributors this cycle: @josways.

Install

iwr -useb https://raw.githubusercontent.com/tw93/Mole/windows/quick-install.ps1 | iex

Already installed from the script? Run mo update. Scoop installs update through scoop update mole once the new package is available. The files below are what package managers and mo download; PowerShell scripts and executables are code-signed, and SHA256SUMS.txt lists their checksums.

Mole for Windows

If you would rather work in a window than a terminal, Mole for Windows covers cleaning, app removal and updates, startup items, disk analysis and live status, and shows everything before it deletes. The CLI stays free and open source.

Don't miss a new Mole release

NewReleases is sending notifications on new releases.