# Install tre-command

Tree command, improved. Version 0.4.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tre-command
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tre-command
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tre
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install tre-command
```

  Evidence: Debian stable package indexes: tre-command from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#tre-command
```

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

- apk (92%):

```sh
sudo apk add agrep
```

  Evidence: Alpine Linux edge package indexes: agrep from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install agrep
```

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

- pacman (92%):

```sh
sudo pacman -S tre
```

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

- zypper (92%):

```sh
sudo zypper install agrep
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/tre-command
```

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

- winget (92%):

```sh
winget install --id duan.tre -e
```

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

## Package Facts

- **Package key:** brew:tre-command
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/tre-command>
- **Version:** 0.4.0
- **Source summary:** Tree command, improved
- **Homepage:** <https://github.com/dduan/tre>
- **Repository:** <https://github.com/dduan/tre>
- **Upstream docs:** <https://github.com/dduan/tre#readme>
- **License:** MIT
- **Source archive:** <https://github.com/dduan/tre/archive/refs/tags/v0.4.0.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- tre (cli)
- tre (alias)

## Build Dependencies

- rust

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.4.0
- Local data status: ok
- Upstream repository: https://github.com/dduan/tre
- Upstream latest detected: v0.4.0 (current)
- info: No package-manager update timestamp was available.

## Sicherheitshinweise

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:** tre-command
- **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

- Debian apt - tre-command - 0.4.0-7+b1: normalized package name match | Debian stable package indexes: tre-command from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tree command, improved | https://github.com/dduan/tre
- Nix - tre-command: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/tre-command/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tre-command - 0.4.0-5: normalized package name match | Ubuntu 24.04 LTS package indexes: tre-command from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tree command, improved | https://github.com/dduan/tre
- Scoop - main/tre-command: normalized package name match | Scoop official bucket manifest trees: bucket/tre-command.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - duan.tre: normalized package name match | Windows Package Manager source index: duan.tre from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - tre: installed executable or alias match | MacPorts ports tree: devel/tre/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - libtre-dev - 0.9.0-1: installed executable or alias match | Debian stable package indexes: libtre-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development package for the libtre5 regexp matching library | https://laurikari.net/tre/
- Debian apt - libtre5 - 0.9.0-1: installed executable or alias match | Debian stable package indexes: libtre5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | regexp matching library with approximate matching | https://laurikari.net/tre/
- Debian apt - tre-agrep - 0.9.0-1: installed executable or alias match | Debian stable package indexes: tre-agrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | approximate grep utility based on the tre library | https://laurikari.net/tre/
- Nix - tre: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/tr/tre/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libtre-dev - 0.8.0-7: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libtre-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development package for the libtre5 regexp matching library | https://laurikari.net/tre/
- Ubuntu apt - libtre5 - 0.8.0-7: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libtre5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | regexp matching library with approximate matching | https://laurikari.net/tre/
- Ubuntu apt - tre-agrep - 0.8.0-7: installed executable or alias match | Ubuntu 24.04 LTS package indexes: tre-agrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | approximate grep utility based on the tre library | https://laurikari.net/tre/
- apk - agrep - 0.8.0-r2: installed executable or alias match | Alpine Linux edge package indexes: agrep from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | approximate grepping | https://laurikari.net/tre
- apk - agrep-doc - 0.8.0-r2: installed executable or alias match | Alpine Linux edge package indexes: agrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | POSIX compliant regexp matching library (documentation) | https://laurikari.net/tre
- apk - tre - 0.8.0-r2: installed executable or alias match | Alpine Linux edge package indexes: tre from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | POSIX compliant regexp matching library | https://laurikari.net/tre


## Related Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/de/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [rust](https://www.automicvault.com/de/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [tree](https://www.automicvault.com/de/pkg/brew/tree/) - Shares av.db curated category or tags: cli, directory-listing, filesystem, system.
- [lstr](https://www.automicvault.com/de/pkg/brew/lstr/) - Shares av.db curated category or tags: cli, filesystem, system, tree.
- [facad](https://www.automicvault.com/de/pkg/brew/facad/) - Shares av.db curated category or tags: cli, directory-listing, filesystem, system.
- [acl](https://www.automicvault.com/de/pkg/brew/acl/) - Shares av.db curated category or tags: cli, filesystem, system.
- [attr](https://www.automicvault.com/de/pkg/brew/attr/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dfc](https://www.automicvault.com/de/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, filesystem, system.
- [convmv](https://www.automicvault.com/de/pkg/brew/convmv/) - Shares av.db curated category or tags: cli, filesystem, system.
- [rdfind](https://www.automicvault.com/de/pkg/brew/rdfind/) - Shares av.db curated category or tags: cli, filesystem, system.
- [parallel-disk-usage](https://www.automicvault.com/de/pkg/brew/parallel-disk-usage/) - Local package facts share a topical domain. Shared terms: cli, directory, filesystem, system, tree.

## Sources

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