github tw93/Mole V1.37.0-windows

latest release: V1.62.0
6 hours ago
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. Let your AI agent drive Mole: mo analyze --json [path] prints a disk report and mo uninstall --list prints the installed apps as JSON, so the official Mole skill can answer what is using space and which apps are installed; install it with npx skills add tw93/Mole -a claude-code codex cursor -g -y.
  2. Games keep their shader caches: mo clean no longer empties the NVIDIA, AMD, Intel, DirectX and Vulkan shader caches on every run, which made each game recompile for minutes on its next launch; run mo clean --gpu-shaders when you want them gone.
  3. Uninstall search works with one match: Narrowing the mo uninstall list to a single app no longer stops the menu on Windows PowerShell 5.1, and app names in Chinese and other languages no longer turn into question marks.
  4. Stronger protection for secrets and system folders: Short names, trailing-dot aliases and linked folders can no longer slip a path such as C:\Windows, .ssh or Microsoft\Credentials past the protection checks, and a linked whitelist folder stays protected.
  5. Reliable output for scripts: JSON keeps Chinese and other names readable in Windows PowerShell 5.1, the overview total counts each folder once, --debug and tool download lines no longer mix into redirected output, and mo status --watch --interval 1s works as well as --interval=1s.
  6. Faster cleanup, cleaner removal: Cleanup reads the whitelist once per folder instead of once per file and skips a Maven scan that could never remove anything, and install.ps1 -Uninstall now also clears Mole's cache, like mo remove.

更新日志

  1. 让 AI Agent 帮你用 Mole:mo analyze --json [路径] 输出磁盘分析报告,mo uninstall --list 以 JSON 列出已安装的应用,官方 Mole skill 因此能回答哪里占了空间、装了哪些应用,安装命令是 npx skills add tw93/Mole -a claude-code codex cursor -g -y。
  2. 游戏的着色器缓存不再被清掉:mo clean 不再每次都清空 NVIDIA、AMD、Intel、DirectX 和 Vulkan 的着色器缓存,以前每清一次,每个游戏下次启动都要重新编译好几分钟,需要清理时运行 mo clean --gpu-shaders。
  3. 卸载搜索只剩一个结果也能用:在 mo uninstall 里把列表筛到只剩一个应用时,Windows PowerShell 5.1 下菜单不会再中断,中文等非英文的应用名也不再显示成问号。
  4. 更牢靠地保护密钥和系统目录:短文件名、末尾带点的别名和链接目录都不能再让 C:\Windows、.ssh 或 Microsoft\Credentials 这类路径绕过保护检查,链接过去的白名单目录也会继续受保护。
  5. 脚本拿到的输出更可靠:Windows PowerShell 5.1 下 JSON 里的中文等名字不再乱码,磁盘概览的总量每个目录只算一次,--debug 和工具下载的提示不会再混进重定向的输出,mo status --watch --interval 1s 和 --interval=1s 两种写法都能用。
  6. 清理更快,卸载 Mole 更干净:清理时每个目录只读一次白名单,不再每个文件读一次,也去掉了一个永远删不掉任何东西的 Maven 扫描,install.ps1 -Uninstall 现在也会像 mo remove 一样清掉 Mole 的缓存。

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.