pkg.soopen package index

brew / 順位 4698

tre-command を Homebrew, apt, Nix, scoop, winget, apk, dnf, MacPorts, pacman, zypper でインストール

tre-command のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install tre-command

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install tre

MacPorts ports tree · devel/tre/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install tre-command

Debian stable package indexes · tre-command · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#tre-command

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

Alpine Linux apk確認済み · 92%
sudo apk add tre

Alpine Linux edge package indexes · tre · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install tre

Fedora Rawhide package metadata · tre · ソース: dl.fedoraproject.org

Arch Linux pacman確認済み · 92%
sudo pacman -S tre

Arch Linux sync databases · tre · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install agrep

openSUSE Tumbleweed package metadata · agrep · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/tre-command

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

Windows Package Manager確認済み · 92%
winget install --id duan.tre -e

Windows Package Manager source index · duan.tre · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Tree command, improved

コマンドとエイリアス

  • tre

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

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

ソース

  • 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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
tre実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.4.0
マネージャ更新日
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:tre-command
バージョン0.4.0
パッケージマネージャHomebrew
ホームページhttps://github.com/dduan/tre
リポジトリhttps://github.com/dduan/tre
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • installed executable or alias match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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