A PC cleaner for Linux and macOS, written in Rust. It shows which folders use your disk space and clears app, browser and system caches, the trash, package caches and large files. It also cleans developer artifacts, tool caches, toolchains, Docker leftovers and duplicate files. It deletes only what you select.
Website and documentation: kuizer.app, kuizer.app/docs.
kuizer ships as a terminal tool and as a desktop app built on GPUI. Both use the same core for scanning, safety checks and deletion, and share one config file and one history. A scan on its own never deletes anything.
- Disk usage.
kuizer usage, orkuizer du, prints folders and files as a tree, largest first, and deletes nothing. The desktop app's Disk Explorer draws the same measurement as a treemap you can drill into. - App, browser and system caches.
kuizer cachelists them next to the tool caches, and--group developer,apps,browsersorsystemnarrows the list. A cache whose app is running isreview. The catalog covers, among others, headless Chrome, debuginfod, DotSlash, Cypress, electron-builder and Codex runtime caches, Android Virtual Device settings and images, Telegram's cache and Homebrew logs on macOS, and one entry per Flatpak app, labelled with its name. - Trash.
kuizer trashshows the size of your trash, andkuizer trash --cleanempties it for good. - System package caches.
kuizer systemlists the pacman, APT, DNF and Zypper caches, disabled snap revisions, unused Flatpak runtimes, Homebrew cleanup and the systemd journal.kuizer system cleanruns each tool's own cleanup command after a preview. Commands that need administrator rights usesudoin a terminal orpkexecin a graphical session, and the desktop app usespkexec. - Large files and old downloads.
kuizer biglists files of 250 MB and more in your home folder, and downloads of 10 MB and more that are older than 90 days. All arereview.--cleanwith--selectmoves them to the trash after you type the item count, and refuses a file whose size or modification time changed. The desktop app filters large files by kind: Video, Archive, Disk image, Installer, AI model, Audio and Other. - Project artifacts. kuizer finds
node_modules,.next, Cargotargetdirectories and other generated folders. Built-in rules cover JavaScript and its frameworks, Rust, Python, .NET, Maven, Gradle, Swift, CocoaPods, Dart and Flutter, Elixir, Zig, Haskell, CMake, Terraform and Unity;kuizer ruleslists them. Adistfolder counts only next to apackage.json, and atargetfolder only next to aCargo.tomlwith Cargo's cache tag inside. Every result is markedsafeorreview. - Developer tools. It lists global caches (npm, pnpm, yarn, bun, cargo, pip, uv, Go, Gradle, Maven, Playwright and more), installed toolchain versions (rustup, nvm, fnm, volta, pyenv, uv, SDKMAN, Go), Docker and Podman leftovers, git repositories that
git gcwould shrink, and duplicate files by size and BLAKE3 hash. - Every item is checked again right before removal. For files and folders, kuizer confirms the item is the one it scanned, not a symlink or mount point, inside a scanned root, and not your home or a system directory.
- Profiles and secrets are never cleaned. The cleanup scan skips Chrome, Brave, Firefox, Edge and Electron apps such as Discord, Slack and VS Code, plus
~/.ssh,~/.gnupg, the keyrings and global tool installs.kuizer cachereaches only named disk cache folders inside a browser or app profile, such asGPUCache.kuizer usagemeasures the size of protected folders and marks them[protected]. Project artifacts elsewhere in a hidden home folder arereview, neversafe. - Idle projects only, if you want.
--idle 60dkeeps the dependencies of what you work on today; a project's activity is its newest source file or last commit, so a straynpm installdoes not count. - Every deletion is logged.
kuizer historylists past runs with ids likes4. In trash mode,kuizer restore s4puts a run back from the trash without overwriting anything. - Reports stay on your machine.
kuizer scan --reportwrites one HTML file with a zoomable treemap, andkuizer dashboardone page with charts and drill-downs. Neither loads anything from the network.
Configuration lives in ~/.config/kuizer/config.toml; every key is optional and docs/config.example.toml lists them all. A folder containing a .kuizerignore file is skipped with everything under it. kuizer was called sweep until October 2026 and still reads .sweepignore markers and ~/.sweep-history.json. The design and module boundaries are in docs/design.md.
Command line
Deletion is permanent by default. Set delete.mode = "trash" in the config, or turn on "Move to the trash" in the desktop app settings, to move project artifacts and caches to the trash instead. kuizer big --clean always moves to the trash. kuizer trash --clean and kuizer system clean are always permanent. Every command shows what it will remove and asks first. With delete.confirm = false the CLI only asks for review items and projects with uncommitted changes. A tool downloads a toolchain version again when needed, and a merged branch's commits stay in the default branch.
Policies and scheduled cleanups
A [policy.NAME] table in config.toml saves a source, filters and a selection so you can inspect it with kuizer policy show NAME and run it with kuizer clean --policy NAME. Extra flags next to --policy can only narrow it further; widening --select or passing --permanent without permanent = true exits with status 2.
kuizer does not include its own scheduler. To run a policy weekly, call it from crontab or a systemd user timer with --yes -q (--yes is required when there is no terminal to confirm on):
# Every Sunday at 03:00
0 3 * * 0 kuizer clean --policy stale-deps --yes -q
Or with a systemd user unit (~/.config/systemd/user/kuizer-stale-deps.service and .timer):
[Service]
Type=oneshot
ExecStart=kuizer clean --policy stale-deps --yes -q
[Timer]
OnCalendar=Sun *-*-* 03:00:00
Persistent=true
[Install]
WantedBy=timers.target
Each run records its policy name in kuizer history, and kuizer dashboard groups policy runs with their last run time and average cadence.
Desktop app
kuizer-gui opens on a start screen. Type a folder, pick one with the system dialog, reopen one of the last eight, or scan your whole home folder. The same screen sets the scan options: which kinds of artifacts to list, the smallest item size, how deep to walk, whether to measure caches, toolchains, Docker, the trash, system package caches and large files, whether to look for duplicates and whether to stay on one file system. The scan streams results in as it runs, and Escape stops it and keeps what it found.
The sidebar lists the general cleanup sections before the developer ones. The Overview shows a disk usage bar and the biggest safe wins across sources. Shift+1 to Shift+9 jump to Overview, Disk Explorer, App caches, Trash, System, Large files, Project artifacts, Developer caches and Toolchains; Ctrl+Tab and the command palette reach every section, including Docker, Git repositories, Duplicates, History and Issues. The Disk Explorer shows the measured folders as a treemap. Pressing m opens the space map: the scanned folders and developer caches as tiles sized by what they hold. Enter or a click opens a folder and shows each item inside as its own tile; Backspace goes back.
In a list, j/k or the arrow keys move the cursor, Space selects a row, Shift-click selects a range, and / filters by path or name. While anything is selected, a bar above the status bar shows the item count, total size, how many items are marked review and whether they are deleted for good or moved to the trash. For project artifacts, developer caches, app caches, toolchains and Docker objects, Enter, Delete or d deletes the selection at once; a held key never deletes. Emptying rows from Trash opens an inline confirmation in the footer warning that the deletion cannot be undone. Large files are personal files: Select all and range selection skip them, they always move to the trash, and the inline confirmation requires typing the item count first. They can be filtered by file kind. System rows are cleaned through each package tool's own command, with pkexec asking for administrator rights where needed. Right-click a row, or press the Menu key or Shift+F10, to reveal it in the file manager, copy its path, delete only that item, or exclude it from every later scan.
Ctrl+K (Cmd+K on macOS) opens a command palette with every action, section and recent folder, and ? lists all shortcuts. Settings sit in the sidebar footer and behind Ctrl+, (Cmd+,): a dark or light theme, motion on or off, how the sidebar opens and whether the section keys show. They write to the same config file the CLI reads. Ctrl+B collapses the sidebar to a strip of icons. Tab and Shift+Tab move a focus ring through every button, toggle and sidebar item, Enter or Space presses it and Esc goes back to the list.
Install
Prebuilt binaries for Linux and macOS, on x86_64 and ARM, are attached to every GitHub release, as plain archives with a SHA-256 checksum next to the installers below. The kuizer-gui archive includes a .desktop entry and an icon for Linux menus.
Homebrew
The kuizer repository is its own tap. The formula installs the CLI on macOS and Linux, the cask installs the desktop app on macOS.
The formula also installs bash, zsh and fish completions and the man pages. Without Homebrew, each release has a .dmg of the desktop app for Apple silicon and Intel. The macOS desktop app is not signed or notarized yet, so Gatekeeper blocks its first start; allow it once under System Settings, Privacy & Security.
Arch Linux
Install the prebuilt CLI, terminal UI and desktop app from the AUR:
Run kuizer in a terminal or open kuizer from the application menu. With paru, use paru -S kuizer-bin. The separate kuizer AUR package builds from source.
Debian, Ubuntu, Fedora and openSUSE
Each release has .deb and .rpm packages for x86_64, one for the CLI and one for the desktop app.
Flatpak
Release 0.3.1 includes a Flatpak bundle with the CLI and the desktop app, for x86_64 and aarch64.
Installer script
Downloads the right binary, checks it and puts it in ~/.cargo/bin.
|
|
npm
cargo
From source
On Linux the desktop app needs the X11, Wayland, Vulkan and font development packages to build. On Arch: libxkbcommon-x11 wayland vulkan-icd-loader fontconfig freetype2. On Debian and Ubuntu: libxkbcommon-x11-dev libwayland-dev libx11-xcb-dev libxcb1-dev libfontconfig-dev libfreetype-dev libvulkan-dev libasound2-dev.
Development
Requires Rust 1.88 or newer (edition 2024).
./dev is a keyboard menu for building, running and testing. To release, bump version under [workspace.package] in Cargo.toml, commit, and push a matching tag such as v0.1.3; the release workflow builds both binaries, packages them and publishes the GitHub release with the matching section of CHANGELOG.md as its notes. Contribution notes are in CONTRIBUTING.md and the security policy in SECURITY.md.
xxx, Remco Stoeten MIT