pkg.soopen package index

brew / rang 4698

Installer tre-command avec Homebrew, apt, Nix, scoop, winget, apk, dnf, MacPorts, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tre-command pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install tre-command

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install tre

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

Linux

Debian aptvérifié · 92%
sudo apt install tre-command

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

Nixvérifié · 92%
nix profile install nixpkgs#tre-command

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

Alpine Linux apkvérifié · 92%
sudo apk add tre

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

Fedora dnfvérifié · 92%
sudo dnf install tre

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S tre

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

openSUSE zyppervérifié · 92%
sudo zypper install agrep

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

Windows

Scoopvérifié · 92%
scoop install main/tre-command

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

Windows Package Managervérifié · 92%
winget install --id duan.tre -e

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

aperçu

Résumé du paquet

Tree command, improved

Commandes et alias

  • tre

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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`.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

Sources

  • 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

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
treexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire0.4.0
gestionnaire mis à jour
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:tre-command
Version0.4.0
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://github.com/dduan/tre
Dépôthttps://github.com/dduan/tre
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 dépendances optionnelles
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 dépendances optionnelles
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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