pkg.soopen package index

brew / Rang 4698

tre-command mit Homebrew, apt, Nix, scoop, winget, apk, dnf, MacPorts, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tre-command in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install tre-command

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install tre

MacPorts ports tree · devel/tre/Portfile · Quelle: api.github.com

Linux

Debian aptverifiziert · 92%
sudo apt install tre-command

Debian stable package indexes · tre-command · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#tre-command

nixpkgs package indexes · pkgs/by-name/tr/tre-command/package.nix · Quelle: api.github.com

Alpine Linux apkverifiziert · 92%
sudo apk add tre

Alpine Linux edge package indexes · tre · Quelle: dl-cdn.alpinelinux.org

Fedora dnfverifiziert · 92%
sudo dnf install tre

Fedora Rawhide package metadata · tre · Quelle: dl.fedoraproject.org

Arch Linux pacmanverifiziert · 92%
sudo pacman -S tre

Arch Linux sync databases · tre · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install agrep

openSUSE Tumbleweed package metadata · agrep · Quelle: download.opensuse.org

Windows

Scoopverifiziert · 92%
scoop install main/tre-command

Scoop official bucket manifest trees · bucket/tre-command.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id duan.tre -e

Windows Package Manager source index · duan.tre · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Tree command, improved

Befehle und Aliase

  • tre

Verlauf

Projektgeschichte und Nutzung

tre-command is the packaged name for `tre`, Daniel Duan's Rust command-line directory tree lister. The official README describes it as a modern alternative to `tree` that respects `.gitignore`, uses colors compatible with LS_COLORS, can emit JSON, and can create editor-opening shell aliases for listed files.

Projektgeschichte

The project modernizes the classic `tree` workflow for source-code directories. Its README puts Git-awareness first: in repositories, tre skips ignored files by default instead of showing generated or vendor files that developers usually do not want in a structural listing.

The standout feature is editor aliasing. With the `-e` option and small shell setup, tre writes temporary aliases like `e8` that open the numbered file shown in the tree output. The README documents setup for Bash, Zsh, Fish, PowerShell, and Command Prompt, showing that the project treats listing and navigation as one workflow.

Adoptionsgeschichte

The README documents wide package-manager distribution under names such as `tre-command`, `tre-tree`, and `tre`: Homebrew on macOS, MacPorts, Debian testing, Scoop, Windows Package Manager, Cargo, AUR, pkgsrc, Nixpkgs, and Nix flakes. The batch input records additional package-manager mappings for Homebrew, MacPorts, Nix, pacman, Scoop, Ubuntu, and winget.

This adoption pattern reflects a common packaging issue: the executable is `tre`, but package managers sometimes avoid name collisions by shipping it as `tre-command`.

Wie es verwendet wird

Users run `tre [OPTIONS] [PATH]` to list a directory tree. Options include showing hidden files, listing only directories, excluding regex patterns, limiting depth, emitting JSON, controlling color, bypassing gitignore behavior with simple mode, and generating editor aliases.

The package is especially useful in codebases where classic `tree` output is too noisy. By honoring `.gitignore` and LS_COLORS and by supporting JSON output, it fits both interactive terminal browsing and scripting.

Warum Paket-Nerds sich dafür interessieren

For package nerds, tre-command is a tidy example of a Rust rewrite that earns its packaging slot by adding source-control-aware defaults and shell integration, not merely by reimplementing an older Unix command.

Its package-manager matrix matters because users often install tree-like utilities everywhere: laptops, CI images, Windows dev environments, and Nix shells. The formula name `tre-command` also documents the ecosystem's need to disambiguate package names.

Zeitleiste

  • 0.0.1: Earliest public tag visible in the official Git repository tag list.
  • 0.3.x: Tag series shows continued iteration after the initial releases.
  • 2020s: README documents Homebrew, MacPorts, Debian testing, Scoop, winget, Cargo, AUR, pkgsrc, Nixpkgs, and Nix flake installation.

Related projects

  • Related to the classic Unix `tree` command.
  • Related to gitignore-aware file discovery tools that keep generated or ignored paths out of developer-facing output.
  • The README points users who like editor aliasing to the related `ea` project.

Quellen

  • Batch input fields: source_facts.executables, source_facts.package-manager
  • Official Git tag list: https://github.com/dduan/tre/tags
  • Official README: https://github.com/dduan/tre#readme

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
treExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-08-03
Manager-Version0.4.0
Manager aktualisiert
lokale Datenunbekannt
Upstreamnicht verfügbar
neueste erkannte Versionnicht erkannt
  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:tre-command
Version0.4.0
PaketmanagerHomebrew
Homepagehttps://github.com/dduan/tre
Repositoryhttps://github.com/dduan/tre
Bottlenicht erfasst
Dienstkeiner deklariert

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

tre-command 0.4.0-7+b1

Tree command, improved

https://github.com/dduan/tre

sudo apt install tre-command
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-tre-command
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Tre Command
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tre-command from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tre-command

nix profile install nixpkgs#tre-command
  • normalized package name match
  • Abgeglichen nach: Tre Command
nixpkgs package indexes · api.github.com · 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 apt95%

tre-command 0.4.0-5

Tree command, improved

https://github.com/dduan/tre

sudo apt install tre-command
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-tre-command
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Tre Command
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tre-command from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop95%

main/tre-command

scoop install main/tre-command
  • normalized package name match
  • Abgeglichen nach: Tre Command
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/tre-command.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

duan.tre

winget install --id duan.tre -e
  • normalized package name match
  • Abgeglichen nach: Tre Command
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: duan.tre from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

tre

sudo port install tre
  • installed executable or alias match
  • Abgeglichen nach: Tre
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/tre/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

libtre-dev 0.9.0-1

development package for the libtre5 regexp matching library

https://laurikari.net/tre/

sudo apt install libtre-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tre
  • 1 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtre-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libtre5 0.9.0-1

regexp matching library with approximate matching

https://laurikari.net/tre/

sudo apt install libtre5
  • Section: libs
  • Architecture: amd64
  • Source Package: tre
  • 1 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtre5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

tre-agrep 0.9.0-1

approximate grep utility based on the tre library

https://laurikari.net/tre/

sudo apt install tre-agrep
  • Section: text
  • Architecture: amd64
  • Source Package: tre
  • 2 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tre-agrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

tre

nix profile install nixpkgs#tre
  • installed executable or alias match
  • Abgeglichen nach: Tre
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/tre/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libtre-dev 0.8.0-7

development package for the libtre5 regexp matching library

https://laurikari.net/tre/

sudo apt install libtre-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: tre
  • 1 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtre-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libtre5 0.8.0-7

regexp matching library with approximate matching

https://laurikari.net/tre/

sudo apt install libtre5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: tre
  • 1 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtre5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

tre-agrep 0.8.0-7

approximate grep utility based on the tre library

https://laurikari.net/tre/

sudo apt install tre-agrep
  • Section: universe/text
  • Architecture: amd64
  • Source Package: tre
  • 2 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Tre
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tre-agrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

agrep 0.8.0-r2

approximate grepping

https://laurikari.net/tre

sudo apk add agrep
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: tre
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Tre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: agrep from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

agrep-doc 0.8.0-r2

POSIX compliant regexp matching library (documentation)

https://laurikari.net/tre

sudo apk add agrep-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: tre
  • installed executable or alias match
  • Abgeglichen nach: Tre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: agrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

tre 0.8.0-r2

POSIX compliant regexp matching library

https://laurikari.net/tre

sudo apk add tre
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: tre
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Tre
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tre from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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