macOS
brew install as-treelocal Homebrew formula metadata
sudo port install as-treeMacPorts ports tree · sysutils/as-tree/Portfile · source: api.github.com
brew
Print a list of paths as a tree of paths. Version 0.12.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#as-tree.
install
brew install as-treelocal Homebrew formula metadata
sudo port install as-treeMacPorts ports tree · sysutils/as-tree/Portfile · source: api.github.com
nix profile install nixpkgs#as-treenixpkgs package indexes · pkgs/by-name/as/as-tree/package.nix · source: api.github.com
overview
Print a list of paths as a tree of paths
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
as-tree | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jez/as-tree
install metadata
| Package key | brew:as-tree |
|---|---|
| Version | 0.12.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/as-tree |
| Homepage | https://github.com/jez/as-tree |
| Repository | https://github.com/jez/as-tree |
| Upstream docs | https://github.com/jez/as-tree#readme |
| License | BlueOak-1.0.0 |
| Source archive | https://github.com/jez/as-tree/archive/refs/tags/0.12.0.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | as-tree |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
as-tree
nix profile install nixpkgs#as-treeas-tree
sudo port install as-treesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.