github tw93/Mole V1.40.0-windows
V1.40.0-windows Lucid

2 hours ago
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. Mole starts where Windows PowerShell is blocked: If a policy stops powershell.exe from launching, mo now falls back to PowerShell 7 (pwsh).
  2. mo update stops reinstalling when nothing changed: An up-to-date install no longer downloads the analyze and status tools again or rewrites its launchers on every run.
  3. Clearer clean output: Dry-run rows are marked with an empty circle, rows that measured 0B are hidden, owner commands such as npm, pnpm and Go show the space they actually freed, and a real run ends with "Removed: X | Items: N".
  4. Safer cache cleanup: The Bun cache is cleared with bun pm cache rm only while Bun is idle, caches reached through a folder junction are kept, both editor cleanup entries are guarded, and each file is checked again right before removal.
  5. Store apps kept when their manifest cannot be read: Uninstall no longer removes a Store package whose manifest is unreadable, since Mole cannot tell whether a desktop app still depends on it.

更新日志

  1. Windows PowerShell 被禁用时也能启动:策略阻止 powershell.exe 运行时,mo 会改用 PowerShell 7(pwsh)。
  2. mo update 没有新内容时不再重装:已经是最新的安装不会每次都重新下载 analyze 和 status 工具,也不再重写启动器。
  3. 清理结果更清楚:预览模式的行用空心圆标出,0B 的行不再显示,npm、pnpm、Go 这类工具自己的清理命令会显示实际清理出的空间,正式清理结束时显示「Removed: X | Items: N」。
  4. 缓存清理更稳妥:Bun 缓存只在 Bun 空闲时用 bun pm cache rm 清理,经由目录联接访问到的缓存会保留,编辑器的两处清理入口都加了保护,每个文件删除前还会再核对一次。
  5. 读不出清单的商店应用会保留:卸载时不再删除清单无法读取的商店应用包,因为 Mole 无法确认是否还有桌面应用依赖它。

Thanks

Issue reporters and PR contributors this cycle: @josways · @ywenhao.

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.