# Install erdtree with Homebrew, Nix, pacman, scoop, winget, zypper, MacPorts

Multi-threaded file-tree visualizer and disk usage analyzer. Version 3.1.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:erdtree
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install erdtree
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install erd
```

  Evidence: MacPorts ports tree: textproc/erd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#erdtree
```

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

- pacman (92%):

```sh
sudo pacman -S erdtree
```

  Evidence: Arch Linux sync databases: erdtree from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install erdtree
```

  Evidence: openSUSE Tumbleweed package metadata: erdtree from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/erdtree
```

  Evidence: Scoop official bucket manifest trees: bucket/erdtree.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Solidiquis.Erdtree -e
```

  Evidence: Windows Package Manager source index: Solidiquis.Erdtree from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:erdtree
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/erdtree>
- **Version:** 3.1.2
- **Source summary:** Multi-threaded file-tree visualizer and disk usage analyzer
- **Homepage:** <https://github.com/solidiquis/erdtree>
- **Repository:** <https://github.com/solidiquis/erdtree>
- **Upstream docs:** <https://github.com/solidiquis/erdtree#readme>
- **License:** MIT
- **Source archive:** <https://github.com/solidiquis/erdtree/archive/refs/tags/v3.1.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- erd (cli)
- erd (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: 3.1.2
- Local data: ok
- Upstream repository: https://github.com/solidiquis/erdtree
- Upstream latest detected: v3.1.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

erdtree, installed as `erd`, is a Rust filesystem tree viewer and disk-usage analyzer. Its README positions it as a cross-platform, multi-threaded blend of `du`, `tree`, `find`, `wc`, and `ls`.

### Project history

The official repository was created in 2022 and reached a 1.0 GitHub release in 2023. The project is part of the modern wave of Rust replacements and hybrids for classic Unix command-line utilities, with attention to Git ignore rules, colored output, icons, multiple layout modes, and parallel traversal.

### Adoption history

Adoption is package-manager driven: the input facts list Homebrew, MacPorts, Nix, Arch, Scoop, winget, and zypper packages. That spread matches the project's cross-platform claim and its appeal as a workstation utility rather than a server daemon or library.

### How it is used

Users run `erd` against a directory to inspect file trees and disk usage. The README documents options for logical or physical sizes, line and word counts, long metadata views, glob or regex filtering, depth limits, sorting, icons, Git ignore behavior, thread counts, and one-filesystem traversal.

### Why package nerds care

erdtree matters to command-line tool collectors because it combines several familiar Unix inspection patterns into one packaged binary. It is also a neat packaging case: one Rust crate surfaces as a cross-platform CLI with shell completions, config files, and operating-system-specific filesystem behavior.

### Timeline

- 2022: The GitHub repository was created.
- 2023: Version 1.0 was published on GitHub releases.
- 2020s: Packages appear across Unix-like and Windows package managers according to the supplied package-manager facts.

### Related projects

- erdtree is explicitly compared with `tree`, `du`, `find`, `wc`, `ls`, exa, dua, dust, and fd in its README.

### Sources

- <https://github.com/solidiquis/erdtree>
- <https://github.com/solidiquis/erdtree/releases>
- <https://api.github.com/repos/solidiquis/erdtree>


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $ERDTREE_TOML_PATH, $XDG_CONFIG_HOME/erdtree/.erdtree.toml, $XDG_CONFIG_HOME/.erdtree.toml, ~/.config/erdtree/.erdtree.toml, ~/.erdtree.toml, $ERDTREE_CONFIG_PATH, $XDG_CONFIG_HOME/erdtree/.erdtreerc, $XDG_CONFIG_HOME/.erdtreerc, ~/.config/erdtree/.erdtreerc, ~/.erdtreerc
- Windows: %APPDATA%\erdtree\.erdtree.toml, %APPDATA%\erdtree\.erdtreerc
## Source Database Details

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

## Other Package-Manager Records

- Nix - erdtree: normalized package name match | nixpkgs package indexes: pkgs/by-name/er/erdtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - erdtree - 3.1.2-3: normalized package name match | Arch Linux sync databases: erdtree from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A multi-threaded filesystem and disk-usage analysis tool | https://github.com/solidiquis/erdtree
- zypper - erdtree - 3.1.2~0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: erdtree from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A multi-threaded file-tree visualizer and disk usage analyzer | https://github.com/solidiquis/erdtree
- Scoop - main/erdtree: normalized package name match | Scoop official bucket manifest trees: bucket/erdtree.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Solidiquis.Erdtree: normalized package name match | Windows Package Manager source index: Solidiquis.Erdtree from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - erd: installed executable or alias match | MacPorts ports tree: textproc/erd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [dysk](https://www.automicvault.com/pkg/brew/dysk/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, filesystems, 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.
- [parallel-disk-usage](https://www.automicvault.com/pkg/brew/parallel-disk-usage/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, rust, system.
- [agedu](https://www.automicvault.com/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dfc](https://www.automicvault.com/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [diskonaut](https://www.automicvault.com/pkg/brew/diskonaut/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [duc](https://www.automicvault.com/pkg/brew/duc/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dutree](https://www.automicvault.com/pkg/brew/dutree/) - 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/erdtree.yml](https://github.com/automic-vault/db/blob/main/combined/erdtree.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
