# Install dutree with Homebrew, Nix

Tool to analyze file system usage written in Rust. Version 0.2.18 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#dutree.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dutree
```

  Evidence: local Homebrew formula metadata

### Linux

- 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
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dutree (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.2.18
## 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

## 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


## Combined YAML source

View the package source record on GitHub. [combined/dutree.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dutree.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
