Repolode
tobi

tobi/disktree

A treemap disk-usage tool for Omarchy and other Linux, macOS and Windows desktops that shows what fills a disk and lets you mark and remove it.

Open-source alternative to:WinDirStatWizTreeDaisyDisk

Stars
4,020
Forks
263
Open issues
67
Last commit
14 days ago

What is it?

disktree draws every directory as a nested treemap sized by its real disk usage, so large folders stand out at a glance. You can walk into directories with the keyboard or mouse, switch between size, file count and age views, and see the volume's free space alongside the tree. It can scan a local disk or a remote machine over SSH, where it runs in export-only mode.

Nothing is deleted until you mark items, review the list and confirm. Removal defaults to moving items to the system trash where one is available, and permanent deletion always asks first. Built with GPUI, it follows the Omarchy theme and is also packaged for macOS and Windows.

System directories such as /usr and /etc, the scan root, and the home directory are refused for removal. Hardlinks are counted once, and symlinks are not followed.

Key features

  • 01Treemap view of directory sizes, with keyboard and mouse navigation.
  • 02Size, file count and last-write age views.
  • 03Mark items and review them before anything is removed.
  • 04Move to trash by default, or delete permanently with confirmation.
  • 05Scan local disks or remote machines over SSH.
  • 06Shows free space before and after the marked items.

Use cases

  • Finding which folders are filling up a home directory or server disk.
  • Clearing caches, build output and old package stores on a developer machine.
  • Reviewing a remote server's disk usage over SSH and exporting a cleanup list.

Quick start

  1. 1

    Install the release binary from the AUR on Arch or Omarchy

    yay -S disktree-bin
  2. 2

    Run disktree on your home directory

    disktree ~

Things to know

  • Needs a Wayland or X11 session with a GPU that GPUI can drive through Vulkan.
  • Requires Rust 1.97 or newer to build from source.
  • Unsigned macOS releases are blocked by Gatekeeper until you clear the quarantine flag.
  • Remote SSH mode is export-only and cannot delete files on the server.

Topics

FAQ

What is disktree?
A treemap disk-usage tool for Omarchy and other Linux, macOS and Windows desktops that shows what fills a disk and lets you mark and remove it. disktree draws every directory as a nested treemap sized by its real disk usage, so large folders stand out at a glance. You can walk into directories with the keyboard or mouse, switch between size, file count and age views, and see the volume's free space alongside the tree. It can scan a local disk or a remote machine over SSH, where it runs in export-only mode.
Is disktree free to use? What license does it have?
disktree is open source under the MIT license. Check the license terms before using it in commercial products.
Is disktree still maintained?
Actively maintained. The last commit to disktree was on Oct 23, 2026.
What can I use disktree for?
Finding which folders are filling up a home directory or server disk. Clearing caches, build output and old package stores on a developer machine. Reviewing a remote server's disk usage over SSH and exporting a cleanup list.
How do I install disktree?
Install the release binary from the AUR on Arch or Omarchy: yay -S disktree-bin Run disktree on your home directory: disktree ~
Where can I get disktree?
The source code and installation instructions are on GitHub: https://github.com/tobi/disktree

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects