Changelog
- Mole starts where Windows PowerShell is blocked: If a policy stops
powershell.exefrom launching,monow falls back to PowerShell 7 (pwsh). mo updatestops 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.- 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".
- Safer cache cleanup: The Bun cache is cleared with
bun pm cache rmonly 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. - 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.
更新日志
- Windows PowerShell 被禁用时也能启动:策略阻止
powershell.exe运行时,mo会改用 PowerShell 7(pwsh)。 mo update没有新内容时不再重装:已经是最新的安装不会每次都重新下载 analyze 和 status 工具,也不再重写启动器。- 清理结果更清楚:预览模式的行用空心圆标出,0B 的行不再显示,npm、pnpm、Go 这类工具自己的清理命令会显示实际清理出的空间,正式清理结束时显示「Removed: X | Items: N」。
- 缓存清理更稳妥:Bun 缓存只在 Bun 空闲时用
bun pm cache rm清理,经由目录联接访问到的缓存会保留,编辑器的两处清理入口都加了保护,每个文件删除前还会再核对一次。 - 读不出清单的商店应用会保留:卸载时不再删除清单无法读取的商店应用包,因为 Mole 无法确认是否还有桌面应用依赖它。
Thanks
Issue reporters and PR contributors this cycle: @josways · @ywenhao.
Install
iwr -useb https://raw.githubusercontent.com/tw93/Mole/windows/quick-install.ps1 | iexAlready 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.