# as-tree を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:as-tree
```

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

### macOS

- Homebrew (100%):

```sh
brew install as-tree
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install as-tree
```

  証拠: MacPorts ports tree: sysutils/as-tree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#as-tree
```

  証拠: nixpkgs package indexes: pkgs/by-name/as/as-tree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:as-tree
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.12.0
- **ソース概要:** Print a list of paths as a tree of paths
- **ホームページ:** <https://github.com/jez/as-tree>
- **リポジトリ:** <https://github.com/jez/as-tree>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- as-tree (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.12.0
## プロジェクトの歴史と使われ方

as-tree is a small Rust command-line filter that reads paths from a file or stdin and prints them as a tree. It complements path producers such as `find` and `fd` rather than replacing them.

### プロジェクトの歴史

The public repository was created in May 2020, with initial GitHub releases published the same month. The README states that the tool was inspired by a feature request in `fd`, and that it builds under both Cargo and Bazel.

Its README is deliberately narrow: pass a list of paths in, get a tree display out. Development notes document Bazel-based tests and fixture files, while installation notes point to pre-built releases, Cargo, and source builds.

### 採用の歴史

The provided package-manager facts list Homebrew, MacPorts, and Nix, which is a strong adoption signal for a tiny CLI filter. GitHub repository metadata reported hundreds of stars at research time.

The tool's adoption niche is among users who already compose shell pipelines. Instead of adding complex filtering options to `tree`, it lets `find` or `fd` decide what paths exist and uses `as-tree` only for presentation.

### 使われ方

Common usage is `find . -name '*.txt' | as-tree` or `fd --exclude test | as-tree`. The CLI can also read a filename argument, print full path prefixes with `-f`, and control color with `--color always|auto|never`.

Because it is a filter, it fits neatly into scripts and aliases where users want `tree`-like output after a more expressive file search.

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

as-tree is package-nerd candy because it does one thing that Unix pipelines want: transform line-oriented path streams into tree-shaped output. It is also a small Rust utility that ships through multiple package managers despite a minimal feature set.

The contrast with `tree` is the point: no large option surface is needed when existing tools already produce the right list.

### タイムライン

- 2020: Public GitHub repository created.
- 2020: 0.9.0 through 0.12.0 GitHub releases published in May.

### Related projects

- The README explicitly relates as-tree to `tree`, `find`, and `fd`, and cites the fd feature request that inspired it.

### ソース

- <https://api.github.com/repos/jez/as-tree>
- <https://api.github.com/repos/jez/as-tree/releases>
- <https://github.com/jez/as-tree>
- <https://raw.githubusercontent.com/jez/as-tree/master/README.md>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - as-tree: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/as-tree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - as-tree: normalized package name match | MacPorts ports tree: sysutils/as-tree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/as-tree.yml](https://github.com/mxcl/pkgdb/blob/main/combined/as-tree.yml)


## ソース

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