github tw93/Mole V1.36.0-windows

2 hours ago
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. Protect Steam libraries: mo uninstall never offers a Steam library, its steamapps folder or another game's files as leftovers, whether you remove one game or Steam itself.
  2. Record every change: mo history now also shows what Analyze deleted, the folder, registry key and command each uninstall used, what Optimize changed, and folders Mole kept on purpose.
  3. Safer cleanup and removal: A folder that changes during cleanup is kept instead of deleted, -GameMedia leaves the generic Screenshots and Screen Recordings folders alone, and mo remove unlinks a linked config folder without touching its target and points winget and Scoop installs to their own uninstall command.
  4. Readable output in any console: The loading spinner no longer shows question marks on Chinese and other legacy code pages, long paths stay on one line, Analyze and Status fit narrow or short windows, and a blank line now separates the summary from the prompt.
  5. Faster, more honest maintenance: Cleanup measures each folder in the same pass that checks it, Optimize no longer waits minutes on an online Windows Update search, and an SFC scan is reported as passed only when it really finished.

更新日志

  1. 保护 Steam 游戏库:mo uninstall 不管卸载单个游戏还是 Steam 本身,都不会再把 Steam 游戏库、steamapps 目录或其他游戏的文件当作残留删掉。
  2. 完整记录每次改动:mo history 现在也会显示 Analyze 删了什么、每次卸载用到的目录、注册表项和命令、Optimize 改了什么,以及 Mole 有意保留下来的目录。
  3. 清理和移除更稳妥:清理时中途有变化的目录会原样保留,-GameMedia 不再动通用的截图和录屏目录,mo remove 遇到链接过去的配置目录只解除链接不碰目标,winget 和 Scoop 安装会直接给出各自的卸载命令。
  4. 中文控制台显示正常:加载动画在中文等旧代码页下不再显示问号,长路径不会折行,Analyze 和 Status 在窄窗口或矮窗口里也能完整显示,结尾汇总和命令提示符之间也空出了一行。
  5. 维护更快也更诚实:清理时检查目录和计算大小合成一次遍历,Optimize 不再为在线查询 Windows Update 卡上几分钟,SFC 只有真正跑完才会显示通过。

Install

scoop install mole

Or with the script:

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

Already installed? Run mo update, or scoop update mole for a Scoop install. The files below are what package managers and mo download; every script and executable is 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.