Skip to content

Releases: tw93/Mole

V1.69.0 Clear

Choose a tag to compare

@github-actions github-actions released this 04 Nov 10:02
Mole Logo

Mole

Deep clean and optimize your Mac.

Changelog

  1. Snapshots from other backup apps: Synology Active Backup, Carbon Copy Cloner and similar tools leave APFS snapshots that keep deleted files using space, and mo clean now lists them with their owner even on a Mac without Time Machine, while mo analyze counts every local snapshot.
  2. Correct app names in uninstall: A hidden .app backup no longer shows up in mo uninstall under its file name with a leading dot, so the list reads the same whether or not Spotlight indexes the folder.
  3. Sizes at a unit boundary: mo analyze shows a file of 999,999 bytes as 1.0 MB, matching Finder, instead of 1000.0 kB.
  4. README in more languages: A Polish copy joins the others, and every README now documents the Linux install command and the timeout tuning variables.

更新日志

  1. 识别其他备份软件的快照:群晖 Active Backup、Carbon Copy Cloner 这类工具留下的 APFS 快照会让删掉的文件继续占着空间,没开 Time Machine 的 Mac 上 mo clean 现在也会列出它们和来源,mo analyze 也会统计所有本地快照。
  2. 卸载列表的应用名正确:隐藏的 .app 备份在 mo uninstall 里不再显示成带点的文件名,Spotlight 有没有索引这个目录,列表都一样。
  3. 单位边界上的大小:mo analyze 把 999,999 字节显示成 1.0 MB,和访达一致,不再显示 1000.0 kB。
  4. README 更完整:新增波兰语版本,各语言 README 也补上了 Linux 安装命令和超时调节变量的说明。

Thanks

Issue reporters and PR contributors this cycle: @chengkangzai · @carlwangx · @kevin9327 · @dkoryto · @jampueroc.

Mole Mac App

If you would rather work in a window than a terminal, Mole Mac App covers cleaning, app removal, maintenance, disk analysis and live status, shows everything before it deletes, and adds tools in the menu bar. It costs $19 once, with free updates and a 14-day refund, and you can download it here. The CLI stays free and open source.

V1.42.0-windows Clear

Choose a tag to compare

@github-actions github-actions released this 04 Nov 11:49
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. SFC results read correctly on non-English Windows: On Chinese, German and other localized systems, mo optimize now reads the System File Checker verdict from CBS.log, so a clean or repaired scan is no longer reported as failed or unread.

更新日志

  1. 非英文系统上 SFC 结果判断正确:中文、德文等系统上 mo optimize 改从 CBS.log 读取系统文件检查的结论,扫描正常或已修复时不再显示为失败或未读到结果。

Thanks

Issue reporters and PR contributors this cycle: @JJasonSun.

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.

V0.4.0-linux Reach

Choose a tag to compare

@github-actions github-actions released this 04 Nov 06:56
Mole Logo

Mole CLI for Linux

Deep clean and optimize your Linux desktop.

Changelog

  1. Debian and Ubuntu in mo clean: Old package files that apt can no longer download are removed with apt-get autoclean, after one sudo prompt and never while apt or an update runs. The space Snap keeps for older app revisions is shown with the command to free it, and left alone, since snap revert rolls back to those.
  2. apt and Snap apps in mo uninstall: apt apps are removed through apt with its own confirmation, and the plan names every other package apt would take along. For a snap, it shows how big ~/snap/<name> is, since snap deletes that folder too, and --yes skips snaps that keep data there. Ubuntu's own system packages are never offered.
  3. Debian and Ubuntu checks in mo optimize: Points out packages nothing needs anymore, configuration that removed packages left behind with the sudo apt purge command, and .dpkg-dist and .ucf-dist files in /etc waiting to be merged. It only reports them and changes nothing.

更新日志

  1. mo clean 支持 Debian 和 Ubuntu:用 apt-get autoclean 清理 apt 已经下载不到的旧安装包,只问一次 sudo,apt 或系统更新在运行时不会动手,Snap 为旧版本应用占的空间会列出来并给出释放命令,但不会删除,因为 snap revert 要靠它们回滚。
  2. mo uninstall 支持 apt 和 Snap 应用:apt 应用交给 apt 删除并保留它自己的确认,删除前会列出 apt 会连带删掉的其他包,snap 应用会显示 ~/snap/<名字> 有多大,因为 snap 会一起删除这个文件夹,--yes 会跳过在里面存有数据的 snap,Ubuntu 自带的系统包不会出现在列表里。
  3. mo optimize 新增 Debian 和 Ubuntu 检查:列出已经没有用的包、卸载后残留的配置和对应的 sudo apt purge 命令,以及 /etc 里等着合并的 .dpkg-dist、.ucf-dist 文件,只报告,不改动。

Install

curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bash

Mole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.

V1.68.0 Steady

Choose a tag to compare

@github-actions github-actions released this 03 Nov 00:48
Mole Logo

Mole

Deep clean and optimize your Mac.

Changelog

  1. Touch ID asks once: With Touch ID enabled for sudo, mo clean now waits for the one system dialog instead of opening a second password prompt, and after you type a password on a Mac with enrolled fingerprints Mole points to mo touchid so the next run can use your finger.
  2. Safer uninstall: Removing a Nightly or Beta build no longer takes the folders the stable build still uses, TeamViewer and antivirus apps such as Avast, Malwarebytes and Norton are sent to their own uninstallers, a failed removal makes mo uninstall exit 1, and uninstalling Docker no longer prints regex errors.
  3. Clearer updates: After a stable mo update, Mole shows the new version's highlights and release link, and an update that cannot replace its files, usually left root-owned by an earlier sudo install, now says so with the command to fix it instead of reporting success.
  4. iCloud Drive protected in analyze: mo analyze refuses to delete iCloud Drive's own folders while files inside them stay deletable, and the delete action now says "Move to Trash".
  5. More careful cleaning: Shared Adobe caches wait while any Adobe app runs, only Apple-signed macOS installers are removed, Yarn Berry dependencies are kept, and helpers you built yourself are no longer listed as orphaned services.
  6. Calmer status: mo status calls a disk critical only at 90% used with under 30 GB free, battery warnings start after 1000 cycles, two disks of the same size are both shown, and a terminal too short for the dashboard asks you to enlarge it instead of cutting off the top.
  7. Faster scans: Protection checks match every pattern in one test and timed commands are noticed as soon as they exit, so mo clean --dry-run took 43.6s instead of 54.8s on one Mac without timeout.

更新日志

  1. Touch ID 只问一次:给 sudo 开了 Touch ID 后,mo clean 会等系统那一个授权框,不再接着弹第二次密码,录过指纹的 Mac 上如果你输的是密码,Mole 会提示运行 mo touchid,下次就能直接用指纹。
  2. 卸载更稳:卸载 Nightly、Beta 这类版本不再带走正式版还在用的文件夹,TeamViewer 和 Avast、Malwarebytes、Norton 等杀毒软件会引导到它们自己的卸载工具,卸载失败时 mo uninstall 返回 1,卸载 Docker 时也不再打印正则报错。
  3. 更新结果更清楚:稳定版 mo update 完成后会显示新版本的几条亮点和发布链接,之前用 sudo 安装留下 root 权限文件导致替换失败时,会直接说明并给出修复命令,不再显示更新成功。
  4. analyze 保护 iCloud Drive:mo analyze 不会删除 iCloud Drive 自己的文件夹,里面的文件照常可以删,删除操作的说法也改成了「Move to Trash」。
  5. 清理更谨慎:Adobe 软件运行时不清它们共用的缓存,只清理 Apple 签名的 macOS 安装器,保留 Yarn Berry 的依赖,自己编译的 helper 不再被当成孤立服务。
  6. status 不再乱报警:磁盘用了 90% 且剩余不到 30 GB 才算告急,电池循环超过 1000 次才提醒,容量相同的两块盘都会显示,终端太矮放不下面板时提示放大窗口,不再把顶部截掉。
  7. 扫描更快:保护规则一次匹配完,带超时的命令一结束就能被发现,一台没装 timeout 的 Mac 上 mo clean --dry-run 从 54.8 秒降到 43.6 秒。

Thanks

Issue reporters and PR contributors this cycle: @tobbi · @sebastianbreguel · @Dev-next-gen · @r266-tech · @otakusboy · @iamxorum.

Mole Mac App

If you would rather work in a window than a terminal, Mole Mac App covers cleaning, app removal, maintenance, disk analysis and live status, shows everything before it deletes, and adds tools in the menu bar. It costs $19 once, with free updates and a 14-day refund, and you can download it here. The CLI stays free and open source.

V1.41.0-windows Steady

Choose a tag to compare

@github-actions github-actions released this 02 Nov 14:57
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.

V0.3.0-linux Tidy

Choose a tag to compare

@github-actions github-actions released this 02 Nov 06:17
Mole Logo

Mole CLI for Linux

Deep clean and optimize your Linux desktop.

Changelog

  1. mo purge for old build output: Finds node_modules, target, .venv, build and about 30 other build folders under your project folders, each only beside the project file that made it, such as node_modules next to package.json. Folders changed in the last 7 days and projects a running program works in start unselected, anything git tracks is never offered, and every folder is checked again right before it is removed. mo purge --paths sets which folders it scans, and --dry-run previews.
  2. mo history shows what Mole did: Recent runs grouped by command with how much each removed, moved to the Trash, skipped or failed, then the latest operations with their paths. --json exports it, --limit sets how many.
  3. GPU shader caches only on request: Mesa, NVIDIA, Steam and Lutris shader caches are no longer cleaned by default, since games rebuild them on the next launch and stutter while they do. mo clean --gpu-shaders includes them, as on Windows.
  4. --debug keeps a log: Any command run with --debug writes a session log and prints where it is, with your home folder shown as ~, ready to attach to an issue. mo --version now also says how Mole was installed.

更新日志

  1. 新增 mo purge 清理旧的构建产物:在项目文件夹里找 node_modules、target、.venv、build 等 30 多种构建目录,只认旁边有对应项目文件的,比如 package.json 旁边的 node_modules,最近 7 天改过的和正被程序使用的项目默认不勾选,git 跟踪的文件永远不会列出来,删除前每个文件夹都会再检查一遍,mo purge --paths 设置扫描哪些文件夹,--dry-run 先预览。
  2. 新增 mo history 查看 Mole 做过什么:按命令列出最近几次运行,每次删除、移到废纸篓、跳过和失败了多少,下面是最近的具体操作和路径,--json 可以导出,--limit 控制条数。
  3. GPU 着色器缓存改为按需清理:Mesa、NVIDIA、Steam 和 Lutris 的着色器缓存默认不再清理,因为游戏下次启动会重新生成,生成时会卡顿,需要时用 mo clean --gpu-shaders 一起清理,跟 Windows 版一样。
  4. --debug 会留下日志:任何命令加上 --debug 都会写一份会话日志并告诉你位置,家目录显示成 ~,可以直接附到 issue 里,mo --version 也会显示 Mole 是怎么装的。

Install

curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bash

Mole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.

V0.2.0-linux Candid

Choose a tag to compare

@github-actions github-actions released this 02 Nov 01:41
Mole Logo

Mole CLI for Linux

Deep clean and optimize your Linux desktop.

Changelog

  1. Honest about space btrfs snapshots hold: On Omarchy and other systems where snapper snapshots the root, mo clean still trims old pacman packages but says their space comes back only as the snapshots rotate and leaves it out of the freed total, mo uninstall says the same for removed packages, and mo analyze notes that snapshots exist when only root can list them. On a btrfs test machine, 231 MB of old packages freed nothing until the snapshot holding them was deleted.
  2. More caches covered: Steam and Lutris shader caches, Thunderbird, Telegram, WebKitGTK, Heroic, GNOME Software, sccache, Wine installer downloads and Snap app caches are cleaned, each waiting while its app runs, while Spotify's offline music and downloaded models inside Flatpak and Snap caches stay. Playwright and Cypress browser downloads are left alone, as on macOS.
  3. Leftovers of about 60 more apps: Uninstall now finds the home folders of apps such as Alacritty, Neovim, Emacs, VirtualBox and Burp Suite, each path reviewed by hand from the xdg-ninja catalog. Folders other apps share or that hold sign-in keys are never offered, and chat history stays unselected.
  4. Optimize points out more: Pending .pacnew merges in /etc, AUR packages that need a rebuild after a Python or library update, files under /usr and /opt no package owns, and broken links in your home folder, each with the command to run. Nothing is changed.
  5. Status shows apps: Processes are grouped by app, such as "Firefox ×14", with their CPU and memory added up and GPU memory where the driver reports it, and a btrfs disk shows its data and metadata allocation, turning red when metadata is nearly full.

更新日志

  1. 如实说明 btrfs 快照占着的空间:在 Omarchy 这类用 snapper 给根目录打快照的系统上,mo clean 照常清理旧的 pacman 包,但会说明这部分空间要等快照轮换后才回来,也不再算进已清理的总量,mo uninstall 删掉软件包时同样会提示,mo analyze 在快照只有 root 能看时也会注明有快照,在一台 btrfs 测试机上,231 MB 旧包删掉后一点空间都没回来,直到删掉存着它们的快照才释放。
  2. 覆盖更多缓存:会清理 Steam 和 Lutris 的着色器缓存、Thunderbird、Telegram、WebKitGTK、Heroic、GNOME Software、sccache、Wine 的安装包下载和 Snap 应用缓存,应用运行时都会等它退出,Flatpak 和 Snap 缓存里的 Spotify 离线音乐和下载的模型会保留,Playwright 和 Cypress 下载的浏览器跟 macOS 一样不动。
  3. 多认识约 60 个应用的残留:卸载时能找到 Alacritty、Neovim、Emacs、VirtualBox、Burp Suite 这些应用放在家目录里的文件夹,每条路径都对照 xdg-ninja 的目录逐条人工核过,多个应用共用的文件夹和存着登录密钥的文件夹不会列出来,聊天记录默认不勾选。
  4. 优化能指出更多问题:/etc 里待合并的 .pacnew,Python 或依赖库升级后需要重新编译的 AUR 包,/usr 和 /opt 下不属于任何软件包的文件,以及家目录里失效的链接,每项都附上要运行的命令,Mole 自己什么都不改。
  5. 状态面板按应用显示:进程按应用归组,比如「Firefox ×14」,CPU 和内存合在一起算,驱动报了的话还会显示显存,btrfs 磁盘会显示 data 和 metadata 的分配情况,metadata 快满时标红。

Install

curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bash

Mole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.

V0.1.0-linux

Choose a tag to compare

@github-actions github-actions released this 01 Nov 23:45
Mole Logo

Mole CLI for Linux

Deep clean your Linux desktop.

Changelog

The first release of Mole CLI for Linux, written for Linux from scratch with the same look, keys and safety rules as the macOS CLI. It targets Omarchy and other Arch-based systems first; on other distributions the user-level parts work and the pacman items do not appear.

  1. mo clean: Clears caches apps rebuild by themselves (browsers, Electron apps such as VS Code, Cursor, Obsidian, Discord and Slack, thumbnails, shader caches, about 50 developer tools, old AI coding agent versions, Flatpak app caches), empties the Trash, and trims old pacman packages and journal logs through paccache and journalctl. Caches of running apps are skipped, and large unknown folders are listed, never removed.
  2. mo uninstall: Removes pacman, AUR and Flatpak apps, Omarchy web and terminal apps and AppImages, with each app's size and last use, then moves its leftovers to the Trash, matched by the app's exact ID only.
  3. mo optimize: Refreshes font, icon and launcher caches, compacts browser and Thunderbird databases while they are closed, and points out failed services, broken launchers and autostart entries, orphan packages and TRIM switched off on an SSD. It needs no sudo.
  4. mo analyze: An interactive disk map that stays on local disks, follows btrfs subvolumes and moves what you delete to the Trash.
  5. mo status: Live CPU, memory and zram, disks, network, temperatures, GPU, battery and power draw, with a health score; mo status --json prints one snapshot for scripts.
  6. mo update and mo remove: Update checks the release checksum before installing, and the main menu says when a new version is out.

更新日志

Mole CLI for Linux 的第一个版本,从头为 Linux 写的,界面、按键和安全规则跟 macOS 版一致,先支持 Omarchy 和其他基于 Arch 的系统,其他发行版上用户目录部分照常能用,pacman 相关的项不会出现。

  1. mo clean:清理应用会自己重建的缓存,包括浏览器、VS Code、Cursor、Obsidian、Discord、Slack 这类 Electron 应用、缩略图、着色器缓存、约 50 种开发工具、旧版本的 AI 编程工具和 Flatpak 应用缓存,清空废纸篓,再用 paccache 和 journalctl 清掉旧的 pacman 包和日志,正在运行的应用的缓存会跳过,不认识的大目录只列出来不删。
  2. mo uninstall:卸载 pacman、AUR、Flatpak 应用,Omarchy 的网页应用和终端应用,以及 AppImage,列表里带每个应用的大小和上次使用时间,残留只按应用的精确 ID 匹配并移到废纸篓。
  3. mo optimize:刷新字体、图标和启动器缓存,在浏览器和 Thunderbird 关闭时压缩它们的数据库,并指出失败的服务、失效的启动器和自启动项、孤立的包以及 SSD 没开 TRIM 的情况,全程不需要 sudo。
  4. mo analyze:交互式磁盘地图,只扫本地磁盘,能跟进 btrfs 子卷,删除的内容会移到废纸篓。
  5. mo status:实时显示 CPU、内存和 zram、磁盘、网络、温度、GPU、电池和功耗,附带健康分,mo status --json 可以给脚本输出一份快照。
  6. mo update 和 mo remove:更新前会核对发布包的校验和,有新版本时主菜单会提示。

Install

curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bash

Mole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.

V1.67.0 Lucid

Choose a tag to compare

@github-actions github-actions released this 31 Oct 02:17
Mole Logo

Mole

Deep clean and optimize your Mac.

Changelog

  1. Clearer clean output: Rows for large folders now say what they hold, such as "4 simulators" or "8 builds, May to Aug", with the name linked to the folder instead of a command to copy; empty rows are gone, waits show a spinner, the first line of a dry run appears in 0.22s instead of 2.31s, and the result reads "Removed: X · N items".
  2. Browser and Adobe caches kept while in use: Chrome and Brave caches wait until the browser quits, and Adobe's media cache waits while Premiere Pro, After Effects or another Adobe video app runs.
  3. Downloaded models and running AI sessions are safe: mo clean no longer treats llama.cpp's downloaded models as a cache, and keeps an older Claude Code, cursor-agent or Copilot release while a session still runs on it.
  4. Mail attachments you edited stay: Only attachment copies nobody touched after Mail saved them are cleaned, instead of everything older than 30 days.
  5. Spotlight keeps your switches: mo optimize no longer turns Show Related Content back on.
  6. Faster start on a crowded temp folder: Mole lists the system temp folder once a day, so mo --version took 0.15s instead of 1.89s on one Mac.
  7. Progress for a large Trash: Emptying the Trash shows a count like 1200/16919 instead of a spinner that looks stuck.
  8. More caches covered: The Yarn Berry global cache and BrowserOS caches are cleaned, and owner commands such as npm cache and pnpm store prune show the space they actually freed.
  9. Honest uninstall summary: Moving an app to the Trash no longer says the space was freed, and the Docker hint points to docker system df -v for per-volume sizes.

更新日志

  1. 清理结果更清楚:大文件夹的行会直接说明里面有什么,比如「4 simulators」「8 builds, May to Aug」,名字可以点开对应文件夹,不再让你复制命令自己跑;0B 的行不再显示,等待时都有加载动画,dry run 第一行从 2.31 秒提前到 0.22 秒出现,结果显示为「Removed: X · N items」。
  2. 浏览器和 Adobe 缓存用着时不清:Chrome 和 Brave 的缓存会等浏览器退出,Premiere Pro、After Effects 等 Adobe 视频软件运行时也不清理它们的媒体缓存。
  3. 下载的模型和正在跑的 AI 会话不受影响:mo clean 不再把 llama.cpp 下载的模型当缓存,Claude Code、cursor-agent、Copilot 的旧版本只要还有会话在用就保留。
  4. 改过的邮件附件会保留:只清理 Mail 保存后没人动过的附件副本,不再按超过 30 天一刀切。
  5. Spotlight 设置不再被改回:mo optimize 之后「显示相关内容」不会再被重新打开。
  6. 临时目录很满时启动更快:Mole 每天只扫一次系统临时目录,一台 Mac 上 mo --version 从 1.89 秒降到 0.15 秒。
  7. 大废纸篓有进度:清空废纸篓时显示「1200/16919」这样的计数,不再像卡住了。
  8. 覆盖更多缓存:会清理 Yarn Berry 全局缓存和 BrowserOS 缓存,npm cache、pnpm store prune 这类工具自己的清理命令也会显示实际清理出的空间。
  9. 卸载结果说法更准:应用移到废纸篓时不再说空间已释放,Docker 提示改为 docker system df -v,能看到每个卷的大小。

Thanks

Issue reporters and PR contributors this cycle: @rbk7g5y8nb-crypto · @r266-tech · @thecoldblooded.

Mole Mac App

If you would rather work in a window than a terminal, Mole Mac App covers cleaning, app removal, maintenance, disk analysis and live status, shows everything before it deletes, and adds tools in the menu bar. It costs $19 once, with free updates and a 14-day refund, and you can download it here. The CLI stays free and open source.

V1.40.0-windows Lucid

Choose a tag to compare

@github-actions github-actions released this 31 Oct 05:15
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.