No description
Find a file
lucataco 6b763c7f4d
Some checks failed
Update Contributors / update-contributors (push) Failing after 31s
Check / Format (push) Has been cancelled
Validation / Unit & Integration Tests (push) Has been cancelled
Validation / macOS (push) Has been cancelled
Validation / macOS-1 (push) Has been cancelled
Validation / Security Checks (push) Has been cancelled
Check / Check (push) Has been cancelled
update analyze
2026-02-28 17:39:53 -05:00
.github Init 2026-02-28 16:52:25 -05:00
bin update analyze 2026-02-28 17:39:53 -05:00
cmd update analyze 2026-02-28 17:39:53 -05:00
lib Init 2026-02-28 16:52:25 -05:00
scripts Init 2026-02-28 16:52:25 -05:00
tests Init 2026-02-28 16:52:25 -05:00
.editorconfig Init 2026-02-28 16:52:25 -05:00
.gitignore Init 2026-02-28 16:52:25 -05:00
.golangci.yml Init 2026-02-28 16:52:25 -05:00
.shellcheckrc Init 2026-02-28 16:52:25 -05:00
CONTRIBUTING.md Init 2026-02-28 16:52:25 -05:00
CONTRIBUTORS.svg Init 2026-02-28 16:52:25 -05:00
go.mod Init 2026-02-28 16:52:25 -05:00
go.sum Init 2026-02-28 16:52:25 -05:00
install.sh update analyze 2026-02-28 17:39:53 -05:00
LICENSE Init 2026-02-28 16:52:25 -05:00
Makefile Init 2026-02-28 16:52:25 -05:00
mo Init 2026-02-28 16:52:25 -05:00
mole Init 2026-02-28 16:52:25 -05:00
mole-linux Init 2026-02-28 16:52:25 -05:00
README.md update analyze 2026-02-28 17:39:53 -05:00
SECURITY_AUDIT.md Init 2026-02-28 16:52:25 -05:00

Mole Linux

Deep clean and optimize your Linux system.

Commands

mole-linux                 # interactive menu
mole-linux clean           # clean caches and temp files
mole-linux uninstall       # remove packages + leftovers
mole-linux optimize        # safe maintenance tasks
mole-linux analyze         # disk analyzer (Go binary)
mole-linux status          # live system metrics (Go binary)
mole-linux purge           # remove project artifacts
mole-linux installer       # remove installer files
mole-linux completion zsh  # shell completion output
mole-linux update          # update via installer script
mole-linux remove          # remove binary/config

Safety

  • Use --dry-run on clean and optimize first.
  • Privileged actions are always confirmed before execution.
  • Protected system roots are blocked from deletion.

Install

# System-wide install (may require sudo)
./install.sh --prefix /usr/local/bin

# User-local install (no sudo)
./install.sh --prefix "$HOME/.local/bin"

install.sh installs launchers plus required runtime files (bin/ and lib/) into the chosen prefix.

Build

make build

Note: On Linux, mole-linux analyze currently ships as a stub binary and prints: mole-linux analyze is not supported on Linux yet.