pkg.soopen package index

brew / rank 6981

Install as-tree with Homebrew, MacPorts, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install as-tree

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install as-tree

MacPorts ports tree · sysutils/as-tree/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#as-tree

nixpkgs package indexes · pkgs/by-name/as/as-tree/package.nix · source: api.github.com

overview

Package summary

Print a list of paths as a tree of paths

Commands and aliases

  • as-tree

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
as-treeexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.12.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:as-tree
Version0.12.0
Package managerHomebrew
Homepagehttps://github.com/jez/as-tree
Repositoryhttps://github.com/jez/as-tree
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

as-tree

nix profile install nixpkgs#as-tree
  • normalized package name match
  • Matched by: As Tree
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/as-tree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

as-tree

sudo port install as-tree
  • normalized package name match
  • Matched by: As Tree
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/as-tree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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