# Install dutree with Homebrew, dnf, Nix

Tool to analyze file system usage written in Rust. Version 0.2.18 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:dutree
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dutree
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install dutree
```

  Evidence: Fedora Rawhide package metadata: dutree from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dutree
```

  Evidence: nixpkgs package indexes: pkgs/by-name/du/dutree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:dutree
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dutree>
- **Version:** 0.2.18
- **Source summary:** Tool to analyze file system usage written in Rust
- **Homepage:** <https://github.com/nachoparker/dutree>
- **Repository:** <https://github.com/nachoparker/dutree>
- **Upstream docs:** <https://github.com/nachoparker/dutree#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/nachoparker/dutree/archive/refs/tags/v0.2.18.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dutree (cli)
- dutree (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.18
- Local data: ok
- Upstream repository: https://github.com/nachoparker/dutree
- Upstream latest detected: v0.2.18 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

dutree is a Rust command-line disk-usage analyzer that prints a colored filesystem tree. It appeared during the same Rust CLI wave as tools like dust, but kept a simpler tree-and-aggregation focus.

### Project history

The GitHub repository was created in March 2018 and the crates.io package followed in April 2018. The README describes dutree as fast, written in Rust, able to display a filesystem tree, aggregate small files, exclude paths, compare directories, and use LS_COLORS for colored output.

GitHub releases show early compatibility work in 2018, including a v0.2.7 release described as compatible with macOS, followed by minor fixes through v0.2.15 in November 2019.

### Adoption history

The official README documents installation through Cargo, standalone Linux release binaries, Arch's AUR, and Fedora's repositories. That is modest but meaningful adoption for a focused filesystem utility.

### How it is used

Users run `dutree [options] <path>` with flags for depth, aggregation thresholds, summaries, real disk usage, bytes output, files-only mode, exclusions, hidden-file handling, and ASCII-only output.

### Why package nerds care

dutree is notable as an early packaged Rust answer to `du` plus `tree`: less interactive than ncdu, more structured than plain `du`, and small enough to be carried by package managers for users who want a quick terminal overview.

### Timeline

- 2018-03-25: GitHub repository created.
- 2018-04-16: `dutree` crate created on crates.io.
- 2018-05-10: v0.2.7 release published with macOS compatibility noted.
- 2019-11-18: v0.2.15 release published.

### Related projects

- The dust README lists dutree among alternatives in the disk-usage-inspection space, alongside ncdu, dua, pdu, dirstat-rs, and shell pipelines built from `du`, `sort`, and `head`.

### Sources

- <https://github.com/nachoparker/dutree>
- <https://api.github.com/repos/nachoparker/dutree>
- <https://crates.io/crates/dutree>
- <https://api.github.com/repos/nachoparker/dutree/releases>
- <https://github.com/bootandy/dust#readme>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dutree
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - dutree: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/dutree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - dutree - 0.2.18-17.fc44: normalized package name match | Fedora Rawhide package metadata: dutree from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command line tool to analyze disk usage | https://crates.io/crates/dutree


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [dust](https://www.automicvault.com/pkg/brew/dust/) - Shares av.db curated category or tags: cli, disk-usage, file-management, filesystem, rust.
- [fcp](https://www.automicvault.com/pkg/brew/fcp/) - Shares av.db curated category or tags: cli, file-management, filesystem, rust, system.
- [rmrfrs](https://www.automicvault.com/pkg/brew/rmrfrs/) - Shares av.db curated category or tags: cli, file-management, filesystem, rust, system.
- [rnr](https://www.automicvault.com/pkg/brew/rnr/) - Shares av.db curated category or tags: cli, file-management, filesystem, rust, system.
- [czkawka](https://www.automicvault.com/pkg/brew/czkawka/) - Shares av.db curated category or tags: cli, file-management, rust, system.
- [ddh](https://www.automicvault.com/pkg/brew/ddh/) - Shares av.db curated category or tags: cli, file-management, rust, system.
- [diskus](https://www.automicvault.com/pkg/brew/diskus/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [dua-cli](https://www.automicvault.com/pkg/brew/dua-cli/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [erdtree](https://www.automicvault.com/pkg/brew/erdtree/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, disk, disk-usage, file, filesystem.

## Combined YAML source

View the package source record on GitHub. [combined/dutree.yml](https://github.com/automic-vault/db/blob/main/combined/dutree.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
